* replace media items tables with card grids * style cleanup * add basic paging * sort and page in the db * optimize sql for movies * support movie posters * resize movie posters and store in cache with channel logos * fix bug preventing folders with more than 50 chars as local media sources * support tv posters
13 lines
418 B
C#
13 lines
418 B
C#
using ErsatzTV.Core.AggregateModels;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
|
|
|
namespace ErsatzTV.Infrastructure.Data.Configurations
|
|
{
|
|
public class GenericIntegerIdConfiguration : IEntityTypeConfiguration<GenericIntegerId>
|
|
{
|
|
public void Configure(EntityTypeBuilder<GenericIntegerId> builder) =>
|
|
builder.HasNoKey().ToView(null);
|
|
}
|
|
}
|