????

Your IP : 18.188.149.194


Current Path : C:/inetpub/vhost/binhdinhf1.gdtsolutions.vn/api/logs/
Upload File :
Current File : C:/inetpub/vhost/binhdinhf1.gdtsolutions.vn/api/logs/stdout_20231121003749_10072.log

info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\inetpub\vhost\binhdinhf1.gdtsolutions.vn\api
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (84ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (41ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [MigrationId], [ProductVersion]
      FROM [__EFMigrationsHistory]
      ORDER BY [MigrationId];
info: Microsoft.EntityFrameworkCore.Migrations[20405]
      No migrations were applied. The database is already up to date.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [identity].[AspNetRoles] AS [a]) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [identity].[AspNetUsers] AS [a]) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (27ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[Email], [a].[EmailConfirmed], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[ModifiedBy], [a].[ModifiedOn], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
      FROM [identity].[AspNetUsers] AS [a]
      WHERE [a].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (27ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[Email], [a].[EmailConfirmed], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[ModifiedBy], [a].[ModifiedOn], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
      FROM [identity].[AspNetUsers] AS [a]
      WHERE [a].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [identity].[AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [identity].[AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a0].[Name]
      FROM [identity].[AspNetUserRoles] AS [a]
      INNER JOIN [identity].[AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a0].[Name]
      FROM [identity].[AspNetUserRoles] AS [a]
      INNER JOIN [identity].[AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[DisplayName], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[NormalizedName]
      FROM [identity].[AspNetRoles] AS [a]
      WHERE [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[DisplayName], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[NormalizedName]
      FROM [identity].[AspNetRoles] AS [a]
      WHERE [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[ClaimType], [a].[ClaimValue]
      FROM [identity].[AspNetRoleClaims] AS [a]
      WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[ClaimType], [a].[ClaimValue]
      FROM [identity].[AspNetRoleClaims] AS [a]
      WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [a].[FeaturedImage], [a].[Title], [a].[Summary], [a].[Link], [a].[Id]
      FROM [Articles] AS [a]
      ORDER BY [a].[IsPinned] DESC, [a].[PublishDate] DESC, [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [a].[FeaturedImage], [a].[Title], [a].[Summary], [a].[Link], [a].[Id]
      FROM [Articles] AS [a]
      ORDER BY [a].[IsPinned] DESC, [a].[PublishDate] DESC, [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_0='?' (Size = 200)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_2) [a].[Link], [a].[Title], [a].[Summary], [a].[FeaturedImage], [a].[Id]
      FROM [Articles] AS [a]
      WHERE [a].[Link] = @__TypedProperty_0
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_2) [t].[Title], [t].[FeaturedImage], [t].[Link], [t].[Id]
      FROM (
          SELECT TOP(@__TypedProperty_1) [a].[Id], [a].[FeaturedImage], [a].[IsPinned], [a].[Link], [a].[PublishDate], [a].[Title]
          FROM [Articles] AS [a]
          ORDER BY [a].[IsPinned] DESC, [a].[PublishDate] DESC, [a].[Id]
      ) AS [t]
      ORDER BY [t].[IsPinned] DESC, [t].[PublishDate] DESC, [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (Size = 200)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [a].[Id], [a].[Content], [a].[CreatedBy], [a].[CreatedOn], [a].[FeaturedImage], [a].[IsPinned], [a].[Keywords], [a].[Language], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[PublishDate], [a].[Summary], [a].[Title]
      FROM [Articles] AS [a]
      WHERE [a].[Link] = @__TypedProperty_0
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (10ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p3='?' (DbType = Int32), @p0='?' (Size = 200), @p1='?' (DbType = DateTime2), @p2='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [FeaturedImage] = @p0, [ModifiedOn] = @p1, [Type] = @p2
      OUTPUT 1
      WHERE [Id] = @p3;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int32), @p0='?' (Size = 200), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [FeaturedImage] = @p0, [ModifiedOn] = @p1
      OUTPUT 1
      WHERE [Id] = @p2;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (43ms) [Parameters=[@p2='?' (DbType = Int32), @p0='?' (Size = 200), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [Keywords] = @p0, [ModifiedOn] = @p1
      OUTPUT 1
      WHERE [Id] = @p2;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Id], [t0].[ArticleId], [t0].[CreatedBy], [t0].[CreatedOn], [t0].[ImageLink], [t0].[ModifiedBy], [t0].[ModifiedOn], [a].[Title], [a].[Link], [a].[PublishDate], [a].[Id], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[ArticleId], [t].[CreatedBy], [t].[CreatedOn], [t].[ImageLink], [t].[ModifiedBy], [t].[ModifiedOn]
          FROM (
              SELECT TOP(@__TypedProperty_2) [s].[Id], [s].[ArticleId], [s].[CreatedBy], [s].[CreatedOn], [s].[ImageLink], [s].[ModifiedBy], [s].[ModifiedOn]
              FROM [Slides] AS [s]
              ORDER BY [s].[CreatedOn] DESC, [s].[Id]
          ) AS [t]
          ORDER BY [t].[CreatedOn] DESC, [t].[Id]
      ) AS [t0]
      INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
      ORDER BY [t0].[CreatedOn] DESC, [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[Email], [a].[EmailConfirmed], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[ModifiedBy], [a].[ModifiedOn], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
      FROM [identity].[AspNetUsers] AS [a]
      WHERE [a].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [identity].[AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a0].[Name]
      FROM [identity].[AspNetUserRoles] AS [a]
      INNER JOIN [identity].[AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[DisplayName], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[NormalizedName]
      FROM [identity].[AspNetRoles] AS [a]
      WHERE [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[ClaimType], [a].[ClaimValue]
      FROM [identity].[AspNetRoleClaims] AS [a]
      WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p2='?' (DbType = Int32), @p0='?' (Size = 200), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [FeaturedImage] = @p0, [ModifiedOn] = @p1
      OUTPUT 1
      WHERE [Id] = @p2;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int32), @p0='?' (Size = 200), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [FeaturedImage] = @p0, [ModifiedOn] = @p1
      OUTPUT 1
      WHERE [Id] = @p2;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p2='?' (DbType = Int32), @p0='?' (Size = 200), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [FeaturedImage] = @p0, [ModifiedOn] = @p1
      OUTPUT 1
      WHERE [Id] = @p2;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int32), @p0='?' (Size = 200), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [FeaturedImage] = @p0, [ModifiedOn] = @p1
      OUTPUT 1
      WHERE [Id] = @p2;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p2='?' (DbType = Int32), @p0='?' (Size = 200), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [FeaturedImage] = @p0, [ModifiedOn] = @p1
      OUTPUT 1
      WHERE [Id] = @p2;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_6='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_5='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Name], [t1].[Id], [c].[Name], [c].[Id], CASE
          WHEN [c].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [c0].[Name], [c0].[Id], CASE
          WHEN [c0].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t0].[Id], [t0].[FullName], [t0].[TeamId], [t0].[CountryId], [t0].[CountryOfResidence], [t0].[PlaceOfBirth], [t0].[DebutYear], [t0].[Hull], [t0].[Height], [t0].[Weight], [t0].[CountryOfLicenseId], CAST(0 AS bit)
      FROM (
          SELECT TOP(@__TypedProperty_6) [t].[Id], [t].[CountryId], [t].[CountryOfLicenseId], [t].[CountryOfResidence], [t].[DebutYear], [t].[FullName], [t].[Height], [t].[Hull], [t].[PlaceOfBirth], [t].[TeamId], [t].[Weight]
          FROM (
              SELECT [d].[Id], [d].[CountryId], [d].[CountryOfLicenseId], [d].[CountryOfResidence], [d].[DebutYear], [d].[FullName], [d].[Height], [d].[Hull], [d].[PlaceOfBirth], [d].[TeamId], [d].[Weight]
              FROM [Drivers] AS [d]
              ORDER BY [d].[Id]
              OFFSET @__TypedProperty_4 ROWS FETCH NEXT @__TypedProperty_5 ROWS ONLY
          ) AS [t]
          ORDER BY [t].[Id]
      ) AS [t0]
      INNER JOIN [Teams] AS [t1] ON [t0].[TeamId] = [t1].[Id]
      LEFT JOIN [Countries] AS [c] ON [t0].[CountryId] = [c].[Id]
      LEFT JOIN [Countries] AS [c0] ON [t0].[CountryOfLicenseId] = [c0].[Id]
      ORDER BY [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [Drivers] AS [d]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (32ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[Email], [a].[EmailConfirmed], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[ModifiedBy], [a].[ModifiedOn], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
      FROM [identity].[AspNetUsers] AS [a]
      WHERE [a].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [identity].[AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a0].[Name]
      FROM [identity].[AspNetUserRoles] AS [a]
      INNER JOIN [identity].[AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[Email], [a].[EmailConfirmed], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[ModifiedBy], [a].[ModifiedOn], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
      FROM [identity].[AspNetUsers] AS [a]
      WHERE [a].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [identity].[AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[DisplayName], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[NormalizedName]
      FROM [identity].[AspNetRoles] AS [a]
      WHERE [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a0].[Name]
      FROM [identity].[AspNetUserRoles] AS [a]
      INNER JOIN [identity].[AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[ClaimType], [a].[ClaimValue]
      FROM [identity].[AspNetRoleClaims] AS [a]
      WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[DisplayName], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[NormalizedName]
      FROM [identity].[AspNetRoles] AS [a]
      WHERE [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[ClaimType], [a].[ClaimValue]
      FROM [identity].[AspNetRoleClaims] AS [a]
      WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (15ms) [Parameters=[@p2='?' (DbType = Int32), @p0='?' (DbType = DateTime2), @p1='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [ModifiedOn] = @p0, [Type] = @p1
      OUTPUT 1
      WHERE [Id] = @p2;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int32), @__get_Item_1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[AlbumId], [m].[MediaId], [m].[CreatedBy], [m].[CreatedOn], [m].[ModifiedBy], [m].[ModifiedOn]
      FROM [MediaAlbums] AS [m]
      WHERE [m].[AlbumId] = @__p_0 AND [m].[MediaId] = @__get_Item_1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [MediaAlbums]
      OUTPUT 1
      WHERE [AlbumId] = @p0 AND [MediaId] = @p1;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (18ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (14ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0) AND [m].[Type] = N'Video'
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (11ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0) AND [m].[Type] = N'Image'
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0) AND [m].[Type] = N'Video'
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_2) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE [m].[Type] = N'Video'
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_0 ROWS FETCH NEXT @__TypedProperty_1 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_2) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE [m].[Type] = N'Video'
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_0 ROWS FETCH NEXT @__TypedProperty_1 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
      Failed executing DbCommand (15ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
fail: Microsoft.EntityFrameworkCore.Update[10000]
      An exception occurred in the database while saving changes for context type 'GDT.BinhDinhF1.Infrastructure.RacingContext'.
      Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
       ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK_MediaAlbums'. Cannot insert duplicate key in object 'dbo.MediaAlbums'. The duplicate key value is (641, bb081eca-5e75-41d7-eabb-08dbea319aff).
      The statement has been terminated.
         at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      --- End of stack trace from previous location ---
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
      --- End of stack trace from previous location ---
         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)
      ClientConnectionId:b2255a92-babf-41ac-9d59-e1c30e69434e
      Error Number:2627,State:1,Class:14
         --- End of inner exception stack trace ---
         at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.SqlServerModificationCommandBatch.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.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(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.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 saving the entity changes. See the inner exception for details.
       ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK_MediaAlbums'. Cannot insert duplicate key in object 'dbo.MediaAlbums'. The duplicate key value is (641, bb081eca-5e75-41d7-eabb-08dbea319aff).
      The statement has been terminated.
         at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      --- End of stack trace from previous location ---
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
      --- End of stack trace from previous location ---
         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)
      ClientConnectionId:b2255a92-babf-41ac-9d59-e1c30e69434e
      Error Number:2627,State:1,Class:14
         --- End of inner exception stack trace ---
         at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.SqlServerModificationCommandBatch.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.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(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
      Failed executing DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
fail: Microsoft.EntityFrameworkCore.Update[10000]
      An exception occurred in the database while saving changes for context type 'GDT.BinhDinhF1.Infrastructure.RacingContext'.
      Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
       ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK_MediaAlbums'. Cannot insert duplicate key in object 'dbo.MediaAlbums'. The duplicate key value is (641, bb081eca-5e75-41d7-eabb-08dbea319aff).
      The statement has been terminated.
         at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      --- End of stack trace from previous location ---
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
      --- End of stack trace from previous location ---
         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)
      ClientConnectionId:b2255a92-babf-41ac-9d59-e1c30e69434e
      Error Number:2627,State:1,Class:14
         --- End of inner exception stack trace ---
         at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.SqlServerModificationCommandBatch.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.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(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.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 saving the entity changes. See the inner exception for details.
       ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK_MediaAlbums'. Cannot insert duplicate key in object 'dbo.MediaAlbums'. The duplicate key value is (641, bb081eca-5e75-41d7-eabb-08dbea319aff).
      The statement has been terminated.
         at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      --- End of stack trace from previous location ---
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
      --- End of stack trace from previous location ---
         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)
      ClientConnectionId:b2255a92-babf-41ac-9d59-e1c30e69434e
      Error Number:2627,State:1,Class:14
         --- End of inner exception stack trace ---
         at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.SqlServerModificationCommandBatch.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.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(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
      Failed executing DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
fail: Microsoft.EntityFrameworkCore.Update[10000]
      An exception occurred in the database while saving changes for context type 'GDT.BinhDinhF1.Infrastructure.RacingContext'.
      Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
       ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK_MediaAlbums'. Cannot insert duplicate key in object 'dbo.MediaAlbums'. The duplicate key value is (641, bb081eca-5e75-41d7-eabb-08dbea319aff).
      The statement has been terminated.
         at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      --- End of stack trace from previous location ---
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
      --- End of stack trace from previous location ---
         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)
      ClientConnectionId:b2255a92-babf-41ac-9d59-e1c30e69434e
      Error Number:2627,State:1,Class:14
         --- End of inner exception stack trace ---
         at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.SqlServerModificationCommandBatch.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.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(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.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 saving the entity changes. See the inner exception for details.
       ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK_MediaAlbums'. Cannot insert duplicate key in object 'dbo.MediaAlbums'. The duplicate key value is (641, bb081eca-5e75-41d7-eabb-08dbea319aff).
      The statement has been terminated.
         at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      --- End of stack trace from previous location ---
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
      --- End of stack trace from previous location ---
         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)
      ClientConnectionId:b2255a92-babf-41ac-9d59-e1c30e69434e
      Error Number:2627,State:1,Class:14
         --- End of inner exception stack trace ---
         at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.SqlServerModificationCommandBatch.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.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(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32), @__get_Item_1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[AlbumId], [m].[MediaId], [m].[CreatedBy], [m].[CreatedOn], [m].[ModifiedBy], [m].[ModifiedOn]
      FROM [MediaAlbums] AS [m]
      WHERE [m].[AlbumId] = @__p_0 AND [m].[MediaId] = @__get_Item_1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [MediaAlbums]
      OUTPUT 1
      WHERE [AlbumId] = @p0 AND [MediaId] = @p1;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32), @__get_Item_1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[AlbumId], [m].[MediaId], [m].[CreatedBy], [m].[CreatedOn], [m].[ModifiedBy], [m].[ModifiedOn]
      FROM [MediaAlbums] AS [m]
      WHERE [m].[AlbumId] = @__p_0 AND [m].[MediaId] = @__get_Item_1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [MediaAlbums]
      OUTPUT 1
      WHERE [AlbumId] = @p0 AND [MediaId] = @p1;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[FeaturedImage], [t].[Title], [t].[Summary], [t].[Keywords], [t].[PublishDate]
      FROM (
          SELECT [a].[Id], [a].[FeaturedImage], [a].[Keywords], [a].[PublishDate], [a].[Summary], [a].[Title]
          FROM [Articles] AS [a]
          ORDER BY [a].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [Articles] AS [a]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[Content], [a].[CreatedBy], [a].[CreatedOn], [a].[FeaturedImage], [a].[IsPinned], [a].[Keywords], [a].[Language], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[PublishDate], [a].[Summary], [a].[Title]
      FROM [Articles] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[FeaturedImage], [t].[Title], [t].[Summary], [t].[Keywords], [t].[PublishDate]
      FROM (
          SELECT [a].[Id], [a].[FeaturedImage], [a].[Keywords], [a].[PublishDate], [a].[Summary], [a].[Title]
          FROM [Articles] AS [a]
          ORDER BY [a].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [Articles] AS [a]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (Size = 300)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Caption] = @__TypedProperty_0
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (Size = 300)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Caption] = @__TypedProperty_0
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (Size = 300)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Caption] = @__TypedProperty_0
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[FeaturedImage], [t].[Title], [t].[Summary], [t].[Keywords], [t].[PublishDate]
      FROM (
          SELECT [a].[Id], [a].[FeaturedImage], [a].[Keywords], [a].[PublishDate], [a].[Summary], [a].[Title]
          FROM [Articles] AS [a]
          ORDER BY [a].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [Articles] AS [a]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[Content], [a].[CreatedBy], [a].[CreatedOn], [a].[FeaturedImage], [a].[IsPinned], [a].[Keywords], [a].[Language], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[PublishDate], [a].[Summary], [a].[Title]
      FROM [Articles] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (Size = 300)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Caption] = @__TypedProperty_0
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[Email], [a].[EmailConfirmed], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[ModifiedBy], [a].[ModifiedOn], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
      FROM [identity].[AspNetUsers] AS [a]
      WHERE [a].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [identity].[AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a0].[Name]
      FROM [identity].[AspNetUserRoles] AS [a]
      INNER JOIN [identity].[AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[DisplayName], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[NormalizedName]
      FROM [identity].[AspNetRoles] AS [a]
      WHERE [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[ClaimType], [a].[ClaimValue]
      FROM [identity].[AspNetRoleClaims] AS [a]
      WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[FeaturedImage], [t].[Title], [t].[Summary], [t].[Keywords], [t].[PublishDate]
      FROM (
          SELECT [a].[Id], [a].[FeaturedImage], [a].[Keywords], [a].[PublishDate], [a].[Summary], [a].[Title]
          FROM [Articles] AS [a]
          ORDER BY [a].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [Articles] AS [a]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[Content], [a].[CreatedBy], [a].[CreatedOn], [a].[FeaturedImage], [a].[IsPinned], [a].[Keywords], [a].[Language], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[PublishDate], [a].[Summary], [a].[Title]
      FROM [Articles] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[FeaturedImage], [t].[Title], [t].[Summary], [t].[Keywords], [t].[PublishDate]
      FROM (
          SELECT [a].[Id], [a].[FeaturedImage], [a].[Keywords], [a].[PublishDate], [a].[Summary], [a].[Title]
          FROM [Articles] AS [a]
          ORDER BY [a].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [Articles] AS [a]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[FeaturedImage], [t].[Title], [t].[Summary], [t].[Keywords], [t].[PublishDate]
      FROM (
          SELECT [a].[Id], [a].[FeaturedImage], [a].[Keywords], [a].[PublishDate], [a].[Summary], [a].[Title]
          FROM [Articles] AS [a]
          ORDER BY [a].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [Articles] AS [a]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (10ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[Email], [a].[EmailConfirmed], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[ModifiedBy], [a].[ModifiedOn], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
      FROM [identity].[AspNetUsers] AS [a]
      WHERE [a].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [identity].[AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a0].[Name]
      FROM [identity].[AspNetUserRoles] AS [a]
      INNER JOIN [identity].[AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[DisplayName], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[NormalizedName]
      FROM [identity].[AspNetRoles] AS [a]
      WHERE [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[ClaimType], [a].[ClaimValue]
      FROM [identity].[AspNetRoleClaims] AS [a]
      WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int32), @__get_Item_1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[AlbumId], [m].[MediaId], [m].[CreatedBy], [m].[CreatedOn], [m].[ModifiedBy], [m].[ModifiedOn]
      FROM [MediaAlbums] AS [m]
      WHERE [m].[AlbumId] = @__p_0 AND [m].[MediaId] = @__get_Item_1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [MediaAlbums]
      OUTPUT 1
      WHERE [AlbumId] = @p0 AND [MediaId] = @p1;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32), @__get_Item_1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[AlbumId], [m].[MediaId], [m].[CreatedBy], [m].[CreatedOn], [m].[ModifiedBy], [m].[ModifiedOn]
      FROM [MediaAlbums] AS [m]
      WHERE [m].[AlbumId] = @__p_0 AND [m].[MediaId] = @__get_Item_1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [MediaAlbums]
      OUTPUT 1
      WHERE [AlbumId] = @p0 AND [MediaId] = @p1;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@p2='?' (DbType = Int32), @p0='?' (Size = 200), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [Link] = @p0, [ModifiedOn] = @p1
      OUTPUT 1
      WHERE [Id] = @p2;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int32), @p0='?' (Size = 200), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [Link] = @p0, [ModifiedOn] = @p1
      OUTPUT 1
      WHERE [Id] = @p2;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p2='?' (DbType = Int32), @p0='?' (Size = 200), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [Link] = @p0, [ModifiedOn] = @p1
      OUTPUT 1
      WHERE [Id] = @p2;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p2='?' (DbType = Int32), @p0='?' (Size = 200), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [Link] = @p0, [ModifiedOn] = @p1
      OUTPUT 1
      WHERE [Id] = @p2;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (24ms) [Parameters=[@p3='?' (DbType = Int32), @p0='?' (Size = 200), @p1='?' (Size = 200), @p2='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Albums] SET [Keywords] = @p0, [Link] = @p1, [ModifiedOn] = @p2
      OUTPUT 1
      WHERE [Id] = @p3;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
      Failed executing DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
fail: Microsoft.EntityFrameworkCore.Update[10000]
      An exception occurred in the database while saving changes for context type 'GDT.BinhDinhF1.Infrastructure.RacingContext'.
      Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
       ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK_MediaAlbums'. Cannot insert duplicate key in object 'dbo.MediaAlbums'. The duplicate key value is (641, bb081eca-5e75-41d7-eabb-08dbea319aff).
      The statement has been terminated.
         at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      --- End of stack trace from previous location ---
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
      --- End of stack trace from previous location ---
         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)
      ClientConnectionId:31ba7cdf-6f29-4a5a-86ab-e4a9f791f0ec
      Error Number:2627,State:1,Class:14
         --- End of inner exception stack trace ---
         at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.SqlServerModificationCommandBatch.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.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(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.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 saving the entity changes. See the inner exception for details.
       ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK_MediaAlbums'. Cannot insert duplicate key in object 'dbo.MediaAlbums'. The duplicate key value is (641, bb081eca-5e75-41d7-eabb-08dbea319aff).
      The statement has been terminated.
         at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      --- End of stack trace from previous location ---
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
      --- End of stack trace from previous location ---
         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)
      ClientConnectionId:31ba7cdf-6f29-4a5a-86ab-e4a9f791f0ec
      Error Number:2627,State:1,Class:14
         --- End of inner exception stack trace ---
         at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.SqlServerModificationCommandBatch.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.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(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (16ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32), @__get_Item_1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[AlbumId], [m].[MediaId], [m].[CreatedBy], [m].[CreatedOn], [m].[ModifiedBy], [m].[ModifiedOn]
      FROM [MediaAlbums] AS [m]
      WHERE [m].[AlbumId] = @__p_0 AND [m].[MediaId] = @__get_Item_1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [MediaAlbums]
      OUTPUT 1
      WHERE [AlbumId] = @p0 AND [MediaId] = @p1;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32), @__get_Item_1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[AlbumId], [m].[MediaId], [m].[CreatedBy], [m].[CreatedOn], [m].[ModifiedBy], [m].[ModifiedOn]
      FROM [MediaAlbums] AS [m]
      WHERE [m].[AlbumId] = @__p_0 AND [m].[MediaId] = @__get_Item_1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [MediaAlbums]
      OUTPUT 1
      WHERE [AlbumId] = @p0 AND [MediaId] = @p1;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE EXISTS (
          SELECT 1
          FROM [MediaAlbums] AS [m0]
          WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int32), @__get_Item_1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[AlbumId], [m].[MediaId], [m].[CreatedBy], [m].[CreatedOn], [m].[ModifiedBy], [m].[ModifiedOn]
      FROM [MediaAlbums] AS [m]
      WHERE [m].[AlbumId] = @__p_0 AND [m].[MediaId] = @__get_Item_1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [MediaAlbums]
      OUTPUT 1
      WHERE [AlbumId] = @p0 AND [MediaId] = @p1;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32), @__get_Item_1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[AlbumId], [m].[MediaId], [m].[CreatedBy], [m].[CreatedOn], [m].[ModifiedBy], [m].[ModifiedOn]
      FROM [MediaAlbums] AS [m]
      WHERE [m].[AlbumId] = @__p_0 AND [m].[MediaId] = @__get_Item_1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [MediaAlbums]
      OUTPUT 1
      WHERE [AlbumId] = @p0 AND [MediaId] = @p1;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[Email], [a].[EmailConfirmed], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[ModifiedBy], [a].[ModifiedOn], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
      FROM [identity].[AspNetUsers] AS [a]
      WHERE [a].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [identity].[AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a0].[Name]
      FROM [identity].[AspNetUserRoles] AS [a]
      INNER JOIN [identity].[AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[DisplayName], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[NormalizedName]
      FROM [identity].[AspNetRoles] AS [a]
      WHERE [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[ClaimType], [a].[ClaimValue]
      FROM [identity].[AspNetRoleClaims] AS [a]
      WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32), @__get_Item_1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[AlbumId], [m].[MediaId], [m].[CreatedBy], [m].[CreatedOn], [m].[ModifiedBy], [m].[ModifiedOn]
      FROM [MediaAlbums] AS [m]
      WHERE [m].[AlbumId] = @__p_0 AND [m].[MediaId] = @__get_Item_1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [MediaAlbums]
      OUTPUT 1
      WHERE [AlbumId] = @p0 AND [MediaId] = @p1;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32), @__get_Item_1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[AlbumId], [m].[MediaId], [m].[CreatedBy], [m].[CreatedOn], [m].[ModifiedBy], [m].[ModifiedOn]
      FROM [MediaAlbums] AS [m]
      WHERE [m].[AlbumId] = @__p_0 AND [m].[MediaId] = @__get_Item_1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [MediaAlbums]
      OUTPUT 1
      WHERE [AlbumId] = @p0 AND [MediaId] = @p1;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Guid), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [MediaAlbums] ([AlbumId], [MediaId], [CreatedBy], [CreatedOn], [ModifiedBy], [ModifiedOn])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Video'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Type] = N'Image'
      ORDER BY [a].[Id]
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...