Files
Aaru/Aaru.Database/Migrations/AaruContextModelSnapshot.cs

1910 lines
72 KiB
C#
Raw Normal View History

2018-08-05 19:37:39 +01:00
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
2020-02-27 00:33:26 +00:00
namespace Aaru.Database.Migrations
2018-08-05 19:37:39 +01:00
{
2020-02-28 00:01:51 +00:00
[DbContext(typeof(AaruContext))]
internal class AaruContextModelSnapshot : ModelSnapshot
2018-08-05 19:37:39 +01:00
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
2020-07-10 17:38:52 +01:00
modelBuilder.HasAnnotation("ProductVersion", "3.1.5");
2018-08-05 19:37:39 +01:00
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Ata", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("Identify").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("ReadCapabilitiesId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
2018-08-05 19:37:39 +01:00
b.HasIndex("ReadCapabilitiesId");
2018-08-05 19:37:39 +01:00
b.ToTable("Ata");
});
2018-08-05 19:37:39 +01:00
modelBuilder.Entity("Aaru.CommonTypes.Metadata.BlockDescriptor", b =>
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<uint?>("BlockLength").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ulong?>("Blocks").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte>("Density").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("ScsiModeId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
b.HasIndex("ScsiModeId");
2018-08-05 19:37:39 +01:00
b.ToTable("BlockDescriptor");
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Chs", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort>("Cylinders").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort>("Heads").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort>("Sectors").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
b.ToTable("Chs");
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.DensityCode", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<int>("Code").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("SscSupportedMediaId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
2018-08-05 19:37:39 +01:00
b.HasIndex("SscSupportedMediaId");
2018-08-05 19:37:39 +01:00
b.ToTable("DensityCode");
});
2018-08-05 19:37:39 +01:00
modelBuilder.Entity("Aaru.CommonTypes.Metadata.FireWire", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Manufacturer").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Product").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<uint>("ProductID").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("RemovableMedia").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<uint>("VendorID").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
b.ToTable("FireWire");
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.GdRomSwapDiscCapabilities", b =>
{
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
b.Property<byte[]>("Lba0Data").HasColumnType("BLOB");
b.Property<string>("Lba0DecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba0Readable").HasColumnType("INTEGER");
b.Property<byte[]>("Lba0ScrambledData").HasColumnType("BLOB");
b.Property<string>("Lba0ScrambledDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba0ScrambledReadable").HasColumnType("INTEGER");
b.Property<byte[]>("Lba0ScrambledSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba0Sense").HasColumnType("BLOB");
b.Property<byte[]>("Lba100000AudioData").HasColumnType("BLOB");
b.Property<string>("Lba100000AudioDecodedSense").HasColumnType("TEXT");
b.Property<byte[]>("Lba100000AudioPqData").HasColumnType("BLOB");
b.Property<string>("Lba100000AudioPqDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba100000AudioPqReadable").HasColumnType("INTEGER");
b.Property<int>("Lba100000AudioPqReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba100000AudioPqSense").HasColumnType("BLOB");
b.Property<bool>("Lba100000AudioReadable").HasColumnType("INTEGER");
b.Property<int>("Lba100000AudioReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba100000AudioRwData").HasColumnType("BLOB");
b.Property<string>("Lba100000AudioRwDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba100000AudioRwReadable").HasColumnType("INTEGER");
b.Property<int>("Lba100000AudioRwReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba100000AudioRwSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba100000AudioSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba100000Data").HasColumnType("BLOB");
b.Property<string>("Lba100000DecodedSense").HasColumnType("TEXT");
b.Property<byte[]>("Lba100000PqData").HasColumnType("BLOB");
b.Property<string>("Lba100000PqDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba100000PqReadable").HasColumnType("INTEGER");
b.Property<int>("Lba100000PqReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba100000PqSense").HasColumnType("BLOB");
b.Property<bool>("Lba100000Readable").HasColumnType("INTEGER");
b.Property<int>("Lba100000ReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba100000RwData").HasColumnType("BLOB");
b.Property<string>("Lba100000RwDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba100000RwReadable").HasColumnType("INTEGER");
b.Property<int>("Lba100000RwReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba100000RwSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba100000Sense").HasColumnType("BLOB");
b.Property<byte[]>("Lba400000AudioData").HasColumnType("BLOB");
b.Property<string>("Lba400000AudioDecodedSense").HasColumnType("TEXT");
b.Property<byte[]>("Lba400000AudioPqData").HasColumnType("BLOB");
b.Property<string>("Lba400000AudioPqDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba400000AudioPqReadable").HasColumnType("INTEGER");
b.Property<int>("Lba400000AudioPqReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba400000AudioPqSense").HasColumnType("BLOB");
b.Property<bool>("Lba400000AudioReadable").HasColumnType("INTEGER");
b.Property<int>("Lba400000AudioReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba400000AudioRwData").HasColumnType("BLOB");
b.Property<string>("Lba400000AudioRwDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba400000AudioRwReadable").HasColumnType("INTEGER");
b.Property<int>("Lba400000AudioRwReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba400000AudioRwSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba400000AudioSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba400000Data").HasColumnType("BLOB");
b.Property<string>("Lba400000DecodedSense").HasColumnType("TEXT");
b.Property<byte[]>("Lba400000PqData").HasColumnType("BLOB");
b.Property<string>("Lba400000PqDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba400000PqReadable").HasColumnType("INTEGER");
b.Property<int>("Lba400000PqReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba400000PqSense").HasColumnType("BLOB");
b.Property<bool>("Lba400000Readable").HasColumnType("INTEGER");
b.Property<int>("Lba400000ReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba400000RwData").HasColumnType("BLOB");
b.Property<string>("Lba400000RwDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba400000RwReadable").HasColumnType("INTEGER");
b.Property<int>("Lba400000RwReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba400000RwSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba400000Sense").HasColumnType("BLOB");
b.Property<byte[]>("Lba44990AudioData").HasColumnType("BLOB");
b.Property<string>("Lba44990AudioDecodedSense").HasColumnType("TEXT");
b.Property<byte[]>("Lba44990AudioPqData").HasColumnType("BLOB");
b.Property<string>("Lba44990AudioPqDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba44990AudioPqReadable").HasColumnType("INTEGER");
b.Property<int>("Lba44990AudioPqReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba44990AudioPqSense").HasColumnType("BLOB");
b.Property<bool>("Lba44990AudioReadable").HasColumnType("INTEGER");
b.Property<int>("Lba44990AudioReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba44990AudioRwData").HasColumnType("BLOB");
b.Property<string>("Lba44990AudioRwDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba44990AudioRwReadable").HasColumnType("INTEGER");
b.Property<int>("Lba44990AudioRwReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba44990AudioRwSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba44990AudioSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba44990Data").HasColumnType("BLOB");
b.Property<string>("Lba44990DecodedSense").HasColumnType("TEXT");
b.Property<byte[]>("Lba44990PqData").HasColumnType("BLOB");
b.Property<string>("Lba44990PqDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba44990PqReadable").HasColumnType("INTEGER");
b.Property<int>("Lba44990PqReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba44990PqSense").HasColumnType("BLOB");
b.Property<bool>("Lba44990Readable").HasColumnType("INTEGER");
b.Property<int>("Lba44990ReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba44990RwData").HasColumnType("BLOB");
b.Property<string>("Lba44990RwDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba44990RwReadable").HasColumnType("INTEGER");
b.Property<int>("Lba44990RwReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba44990RwSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba44990Sense").HasColumnType("BLOB");
b.Property<byte[]>("Lba450000AudioData").HasColumnType("BLOB");
b.Property<string>("Lba450000AudioDecodedSense").HasColumnType("TEXT");
b.Property<byte[]>("Lba450000AudioPqData").HasColumnType("BLOB");
b.Property<string>("Lba450000AudioPqDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba450000AudioPqReadable").HasColumnType("INTEGER");
b.Property<int>("Lba450000AudioPqReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba450000AudioPqSense").HasColumnType("BLOB");
b.Property<bool>("Lba450000AudioReadable").HasColumnType("INTEGER");
b.Property<int>("Lba450000AudioReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba450000AudioRwData").HasColumnType("BLOB");
b.Property<string>("Lba450000AudioRwDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba450000AudioRwReadable").HasColumnType("INTEGER");
b.Property<int>("Lba450000AudioRwReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba450000AudioRwSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba450000AudioSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba450000Data").HasColumnType("BLOB");
b.Property<string>("Lba450000DecodedSense").HasColumnType("TEXT");
b.Property<byte[]>("Lba450000PqData").HasColumnType("BLOB");
b.Property<string>("Lba450000PqDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba450000PqReadable").HasColumnType("INTEGER");
b.Property<int>("Lba450000PqReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba450000PqSense").HasColumnType("BLOB");
b.Property<bool>("Lba450000Readable").HasColumnType("INTEGER");
b.Property<int>("Lba450000ReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba450000RwData").HasColumnType("BLOB");
b.Property<string>("Lba450000RwDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba450000RwReadable").HasColumnType("INTEGER");
b.Property<int>("Lba450000RwReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba450000RwSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba450000Sense").HasColumnType("BLOB");
b.Property<byte[]>("Lba45000AudioData").HasColumnType("BLOB");
b.Property<string>("Lba45000AudioDecodedSense").HasColumnType("TEXT");
b.Property<byte[]>("Lba45000AudioPqData").HasColumnType("BLOB");
b.Property<string>("Lba45000AudioPqDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba45000AudioPqReadable").HasColumnType("INTEGER");
b.Property<int>("Lba45000AudioPqReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba45000AudioPqSense").HasColumnType("BLOB");
b.Property<bool>("Lba45000AudioReadable").HasColumnType("INTEGER");
b.Property<int>("Lba45000AudioReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba45000AudioRwData").HasColumnType("BLOB");
b.Property<string>("Lba45000AudioRwDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba45000AudioRwReadable").HasColumnType("INTEGER");
b.Property<int>("Lba45000AudioRwReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba45000AudioRwSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba45000AudioSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba45000Data").HasColumnType("BLOB");
b.Property<string>("Lba45000DecodedSense").HasColumnType("TEXT");
b.Property<byte[]>("Lba45000PqData").HasColumnType("BLOB");
b.Property<string>("Lba45000PqDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba45000PqReadable").HasColumnType("INTEGER");
b.Property<int>("Lba45000PqReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba45000PqSense").HasColumnType("BLOB");
b.Property<bool>("Lba45000Readable").HasColumnType("INTEGER");
b.Property<int>("Lba45000ReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba45000RwData").HasColumnType("BLOB");
b.Property<string>("Lba45000RwDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba45000RwReadable").HasColumnType("INTEGER");
b.Property<int>("Lba45000RwReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba45000RwSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba45000Sense").HasColumnType("BLOB");
b.Property<byte[]>("Lba50000AudioData").HasColumnType("BLOB");
b.Property<string>("Lba50000AudioDecodedSense").HasColumnType("TEXT");
b.Property<byte[]>("Lba50000AudioPqData").HasColumnType("BLOB");
b.Property<string>("Lba50000AudioPqDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba50000AudioPqReadable").HasColumnType("INTEGER");
b.Property<int>("Lba50000AudioPqReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba50000AudioPqSense").HasColumnType("BLOB");
b.Property<bool>("Lba50000AudioReadable").HasColumnType("INTEGER");
b.Property<int>("Lba50000AudioReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba50000AudioRwData").HasColumnType("BLOB");
b.Property<string>("Lba50000AudioRwDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba50000AudioRwReadable").HasColumnType("INTEGER");
b.Property<int>("Lba50000AudioRwReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba50000AudioRwSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba50000AudioSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba50000Data").HasColumnType("BLOB");
b.Property<string>("Lba50000DecodedSense").HasColumnType("TEXT");
b.Property<byte[]>("Lba50000PqData").HasColumnType("BLOB");
b.Property<string>("Lba50000PqDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba50000PqReadable").HasColumnType("INTEGER");
b.Property<int>("Lba50000PqReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba50000PqSense").HasColumnType("BLOB");
b.Property<bool>("Lba50000Readable").HasColumnType("INTEGER");
b.Property<int>("Lba50000ReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba50000RwData").HasColumnType("BLOB");
b.Property<string>("Lba50000RwDecodedSense").HasColumnType("TEXT");
b.Property<bool>("Lba50000RwReadable").HasColumnType("INTEGER");
b.Property<int>("Lba50000RwReadableCluster").HasColumnType("INTEGER");
b.Property<byte[]>("Lba50000RwSense").HasColumnType("BLOB");
b.Property<byte[]>("Lba50000Sense").HasColumnType("BLOB");
b.Property<byte[]>("MaximumReadablePqInHdArea").HasColumnType("BLOB");
b.Property<byte[]>("MaximumReadableRwInHdArea").HasColumnType("BLOB");
b.Property<uint>("MaximumReadableSectorInHdArea").HasColumnType("INTEGER");
b.Property<uint>("MinimumReadableSectorInHdArea").HasColumnType("INTEGER");
b.Property<bool>("RecognizedSwapDisc").HasColumnType("INTEGER");
b.Property<byte>("SwapDiscLeadOutPFRAM").HasColumnType("INTEGER");
b.Property<byte>("SwapDiscLeadOutPMIN").HasColumnType("INTEGER");
b.Property<byte>("SwapDiscLeadOutPSEC").HasColumnType("INTEGER");
b.Property<int>("SwapDiscLeadOutStart").HasColumnType("INTEGER");
b.Property<bool>("TestCrashed").HasColumnType("INTEGER");
b.HasKey("Id");
b.ToTable("GdRomSwapDiscCapabilities");
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Mmc", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("FeaturesId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ModeSense2AData").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
b.HasIndex("FeaturesId");
2018-08-05 19:37:39 +01:00
b.ToTable("Mmc");
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.MmcFeatures", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte?>("AACSVersion").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte?>("AGIDs").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("BinaryData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte?>("BindingNonceBlocks").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort?>("BlocksPerReadableUnit").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("BufferUnderrunFreeInDVD").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("BufferUnderrunFreeInSAO").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("BufferUnderrunFreeInTAO").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte?>("CPRMVersion").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte?>("CSSVersion").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanAudioScan").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanEject").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanEraseSector").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanExpandBDRESpareArea").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanFormat").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanFormatBDREWithoutSpare").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanFormatCert").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanFormatFRF").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanFormatQCert").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanFormatRRM").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanGenerateBindingNonce").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanLoad").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanMuteSeparateChannels").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanOverwriteSAOTrack").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanOverwriteTAOTrack").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanPlayCDAudio").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanPseudoOverwriteBDR").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadAllDualR").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadAllDualRW").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadBD").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadBDR").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadBDRE1").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadBDRE2").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadBDROM").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadBluBCA").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadCD").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadCDMRW").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadCPRM_MKB").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadDDCD").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadDVD").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadDVDPlusMRW").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadDVDPlusR").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadDVDPlusRDL").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadDVDPlusRW").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadDVDPlusRWDL").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadDriveAACSCertificate").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadHDDVD").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadHDDVDR").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadHDDVDRAM").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadLeadInCDText").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadOldBDR").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadOldBDRE").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadOldBDROM").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReadSpareAreaInformation").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReportDriveSerial").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanReportMediaSerial").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanTestWriteDDCDR").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanTestWriteDVD").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanTestWriteInSAO").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanTestWriteInTAO").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanUpgradeFirmware").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteBD").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteBDR").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteBDRE1").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteBDRE2").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteBusEncryptedBlocks").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteCDMRW").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteCDRW").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteCDRWCAV").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteCDSAO").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteCDTAO").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteCSSManagedDVD").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteDDCDR").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteDDCDRW").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteDVDPlusMRW").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteDVDPlusR").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteDVDPlusRDL").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteDVDPlusRW").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteDVDPlusRWDL").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteDVDR").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteDVDRDL").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteDVDRW").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteHDDVDR").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteHDDVDRAM").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteOldBDR").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteOldBDRE").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWritePackedSubchannelInTAO").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteRWSubchannelInSAO").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteRWSubchannelInTAO").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteRaw").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteRawMultiSession").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CanWriteRawSubchannelInTAO").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("ChangerIsSideChangeCapable").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte>("ChangerSlots").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("ChangerSupportsDiscPresent").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("DBML").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("DVDMultiRead").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("EmbeddedChanger").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("ErrorRecoveryPage").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<DateTime?>("FirmwareDate").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte?>("LoadingMechanismType").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Locked").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<uint?>("LogicalBlockSize").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("MultiRead").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<uint?>("PhysicalInterfaceStandardNumber").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("PreventJumper").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsAACS").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsBusEncryption").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsC2").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsCPRM").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsCSS").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsDAP").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsDeviceBusyEvent").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsHybridDiscs").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsModePage1Ch").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsOSSC").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsPWP").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsSWPP").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsSecurDisc").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsSeparateVolume").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsVCPS").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsWriteInhibitDCB").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsWriteProtectPAC").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort?>("VolumeLevels").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
b.ToTable("MmcFeatures");
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.MmcSd", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("CID").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("CSD").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ExtendedCSD").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("OCR").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("SCR").HasColumnType("BLOB");
b.HasKey("Id");
2018-08-05 19:37:39 +01:00
b.ToTable("MmcSd");
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Pcmcia", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("CIS").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort?>("CardCode").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Compliance").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Manufacturer").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort?>("ManufacturerCode").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("ProductName").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
2018-08-05 19:37:39 +01:00
b.ToTable("Pcmcia");
});
2018-08-05 19:37:39 +01:00
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Scsi", b =>
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("InquiryData").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ModeSense10ChangeableData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ModeSense10CurrentData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ModeSense10Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ModeSense6ChangeableData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ModeSense6CurrentData").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ModeSense6Data").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("ModeSenseId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("MultiMediaDeviceId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("ReadCapabilitiesId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("SequentialDeviceId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsModeSense10").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsModeSense6").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("SupportsModeSubpages").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
b.HasIndex("ModeSenseId");
2018-08-05 19:37:39 +01:00
b.HasIndex("MultiMediaDeviceId");
2018-08-05 19:37:39 +01:00
b.HasIndex("ReadCapabilitiesId");
2018-08-05 19:37:39 +01:00
b.HasIndex("SequentialDeviceId");
2018-08-05 19:37:39 +01:00
b.ToTable("Scsi");
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.ScsiMode", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("BlankCheckEnabled").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte?>("BufferedMode").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("DPOandFUA").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte?>("MediumType").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte?>("Speed").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("WriteProtected").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
b.ToTable("ScsiMode");
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.ScsiPage", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<int?>("ScsiId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("ScsiModeId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte>("page").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte?>("subpage").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("value").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
b.HasIndex("ScsiId");
2018-08-05 19:37:39 +01:00
b.HasIndex("ScsiModeId");
2018-08-05 19:37:39 +01:00
b.ToTable("ScsiPage");
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Ssc", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte?>("BlockSizeGranularity").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<uint?>("MaxBlockLength").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<uint?>("MinBlockLength").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
b.ToTable("Ssc");
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.SscSupportedMedia", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Description").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort>("Length").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte>("MediumType").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Name").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Organization").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("SscId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("TestedSequentialMediaId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort>("Width").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
b.HasIndex("SscId");
2018-08-05 19:37:39 +01:00
b.HasIndex("TestedSequentialMediaId");
2018-08-05 19:37:39 +01:00
b.ToTable("SscSupportedMedia");
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.SupportedDensity", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<uint>("BitsPerMm").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<uint>("Capacity").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("DefaultDensity").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Description").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Duplicate").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Name").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Organization").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte>("PrimaryCode").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte>("SecondaryCode").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("SscId").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<int?>("TestedSequentialMediaId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort>("Tracks").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort>("Width").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Writable").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
b.HasIndex("SscId");
2018-08-05 19:37:39 +01:00
b.HasIndex("TestedSequentialMediaId");
2018-08-05 19:37:39 +01:00
b.ToTable("SupportedDensity");
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.TestedMedia", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("AdipData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<int?>("AtaId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("AtipData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<uint?>("BlockSize").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ulong?>("Blocks").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("BluBcaData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("BluDdsData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("BluDiData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("BluPacData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("BluSaiData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("C2PointersData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<int?>("CHSId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadAACS").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadADIP").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadATIP").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadBCA").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadC2Pointers").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadCMI").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadCdScrambled").HasColumnType("INTEGER");
2019-12-07 18:08:31 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadCorrectedSubchannel").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadCorrectedSubchannelWithC2").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadDCB").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadDDS").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadDMI").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadDiscInformation").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.Property<bool?>("CanReadF1_06").HasColumnType("INTEGER");
b.Property<bool?>("CanReadF1_06LeadOut").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadFirstTrackPreGap").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadFullTOC").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadHDCMI").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadLayerCapacity").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadLeadIn").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadLeadOut").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadMediaID").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadMediaSerial").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadPAC").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadPFI").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadPMA").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadPQSubchannel").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadPQSubchannelWithC2").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadPRI").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadRWSubchannel").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadRWSubchannelWithC2").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadRecordablePFI").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadSpareAreaInformation").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadTOC").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadingIntersessionLeadIn").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadingIntersessionLeadOut").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("CmiData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("CorrectedSubchannelData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("CorrectedSubchannelWithC2Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<int?>("CurrentCHSId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("DcbData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte?>("Density").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("DmiData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("DvdAacsData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("DvdBcaData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("DvdDdsData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("DvdLayerData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("DvdSaiData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("EmbossedPfiData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("FullTocData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("HLDTSTReadRawDVDData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("HdCmiData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("IdentifyData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("IntersessionLeadInData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("IntersessionLeadOutData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<ulong?>("LBA48Sectors").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<uint?>("LBASectors").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("LeadInData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("LeadOutData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<ushort?>("LogicalAlignment").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<uint?>("LongBlockSize").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Manufacturer").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("MediaIsRecognized").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte?>("MediumType").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("MediumTypeName").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("MmcId").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ModeSense10Data").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ModeSense6Data").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Model").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("NecReadCddaData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<ushort?>("NominalRotationRate").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("PQSubchannelData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("PQSubchannelWithC2Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("PfiData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<uint?>("PhysicalBlockSize").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("PioneerReadCddaData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("PioneerReadCddaMsfData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("PlextorReadCddaData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("PlextorReadRawDVDData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("PmaData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("PriData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("RWSubchannelData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("RWSubchannelWithC2Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("Read10Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("Read12Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("Read16Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("Read6Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadCdData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadCdFullData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadCdMsfData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadCdMsfFullData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadCdScrambledData").HasColumnType("BLOB");
2019-12-07 18:08:31 +00:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadDmaData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadDmaLba48Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadDmaLbaData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadDmaRetryData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadDmaRetryLbaData").HasColumnType("BLOB");
b.Property<byte[]>("ReadF1_06Data").HasColumnType("BLOB");
b.Property<byte[]>("ReadF1_06LeadOutData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadLba48Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadLbaData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadLong10Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadLong16Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadLongData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadLongLbaData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadLongRetryData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadLongRetryLbaData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadRetryLbaData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadSectorsData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ReadSectorsRetryData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<int?>("ScsiId").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SolidStateDevice").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsHLDTSTReadRawDVD").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsNECReadCDDA").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsPioneerReadCDDA").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsPioneerReadCDDAMSF").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsPlextorReadCDDA").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsPlextorReadRawDVD").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsRead10").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsRead12").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsRead16").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsRead6").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadCapacity").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadCapacity16").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadCd").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadCdMsf").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadCdMsfRaw").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadCdRaw").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadDma").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadDmaLba").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadDmaLba48").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadDmaRetry").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadDmaRetryLba").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadLba").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadLba48").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadLong").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadLong16").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadLongLba").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadLongRetry").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadLongRetryLba").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadRetry").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadRetryLba").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsReadSectors").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsSeek").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool?>("SupportsSeekLba").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("TocData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("Track1PregapData").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<ushort?>("UnformattedBPS").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort?>("UnformattedBPT").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
b.HasIndex("AtaId");
2018-08-05 19:37:39 +01:00
b.HasIndex("CHSId");
b.HasIndex("CurrentCHSId");
b.HasIndex("MmcId");
2018-08-05 19:37:39 +01:00
b.HasIndex("ScsiId");
2018-08-05 19:37:39 +01:00
b.ToTable("TestedMedia");
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.TestedSequentialMedia", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<bool?>("CanReadMediaSerial").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<byte?>("Density").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<string>("Manufacturer").HasColumnType("TEXT");
2020-07-10 17:38:52 +01:00
b.Property<bool>("MediaIsRecognized").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<byte?>("MediumType").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<string>("MediumTypeName").HasColumnType("TEXT");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ModeSense10Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("ModeSense6Data").HasColumnType("BLOB");
2020-07-10 17:38:52 +01:00
b.Property<string>("Model").HasColumnType("TEXT");
2020-07-10 17:38:52 +01:00
b.Property<int?>("SscId").HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("SscId");
b.ToTable("TestedSequentialMedia");
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Usb", b =>
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<byte[]>("Descriptors").HasColumnType("BLOB");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Manufacturer").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Product").HasColumnType("TEXT");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort>("ProductID").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("RemovableMedia").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.Property<ushort>("VendorID").HasColumnType("INTEGER");
2018-08-05 19:37:39 +01:00
b.HasKey("Id");
b.ToTable("Usb");
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.Database.Models.CdOffset", b =>
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<DateTime>("AddedWhen").HasColumnType("TEXT");
2020-07-10 17:38:52 +01:00
b.Property<float>("Agreement").HasColumnType("REAL");
2020-07-10 17:38:52 +01:00
b.Property<string>("Manufacturer").HasColumnType("TEXT");
2020-07-10 17:38:52 +01:00
b.Property<string>("Model").HasColumnType("TEXT");
2020-07-10 17:38:52 +01:00
b.Property<DateTime>("ModifiedWhen").HasColumnType("TEXT");
2020-07-10 17:38:52 +01:00
b.Property<short>("Offset").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<int>("Submissions").HasColumnType("INTEGER");
b.HasKey("Id");
2020-07-10 17:38:52 +01:00
b.HasIndex("ModifiedWhen");
b.ToTable("CdOffsets");
});
modelBuilder.Entity("Aaru.Database.Models.Command", b =>
2018-12-21 03:17:35 +00:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-12-21 03:17:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<ulong>("Count").HasColumnType("INTEGER");
2018-12-21 13:25:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Name").HasColumnType("TEXT");
2018-12-21 03:17:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Synchronized").HasColumnType("INTEGER");
2018-12-21 03:17:35 +00:00
b.HasKey("Id");
b.ToTable("Commands");
});
modelBuilder.Entity("Aaru.Database.Models.Device", b =>
2018-11-27 01:41:50 +00:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("ATAId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("ATAPIId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
b.Property<bool?>("CanReadGdRomUsingSwapDisc").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<bool>("CompactFlash").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("FireWireId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
b.Property<int?>("GdRomSwapDiscCapabilitiesId").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<DateTime>("LastSynchronized").HasColumnType("TEXT");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Manufacturer").HasColumnType("TEXT");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Model").HasColumnType("TEXT");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("MultiMediaCardId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int>("OptimalMultipleSectorsRead").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<int?>("PCMCIAId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Revision").HasColumnType("TEXT");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("SCSIId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("SecureDigitalId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int>("Type").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("USBId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
b.HasKey("Id");
b.HasIndex("ATAId");
b.HasIndex("ATAPIId");
b.HasIndex("FireWireId");
b.HasIndex("GdRomSwapDiscCapabilitiesId");
2018-11-27 01:41:50 +00:00
b.HasIndex("MultiMediaCardId");
b.HasIndex("PCMCIAId");
b.HasIndex("SCSIId");
b.HasIndex("SecureDigitalId");
b.HasIndex("USBId");
b.ToTable("Devices");
});
modelBuilder.Entity("Aaru.Database.Models.DeviceStat", b =>
2018-12-21 03:55:56 +00:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-12-21 03:55:56 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Bus").HasColumnType("TEXT");
2018-12-21 03:55:56 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Manufacturer").HasColumnType("TEXT");
2018-12-21 03:55:56 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Model").HasColumnType("TEXT");
2018-12-21 03:55:56 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Revision").HasColumnType("TEXT");
2018-12-21 03:55:56 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Synchronized").HasColumnType("INTEGER");
2018-12-21 03:55:56 +00:00
b.HasKey("Id");
b.ToTable("SeenDevices");
});
modelBuilder.Entity("Aaru.Database.Models.Filesystem", b =>
2018-12-21 03:17:35 +00:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-12-21 03:17:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<ulong>("Count").HasColumnType("INTEGER");
2018-12-21 13:25:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Name").HasColumnType("TEXT");
2018-12-21 03:17:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Synchronized").HasColumnType("INTEGER");
2018-12-21 03:17:35 +00:00
b.HasKey("Id");
b.ToTable("Filesystems");
});
modelBuilder.Entity("Aaru.Database.Models.Filter", b =>
2018-12-21 03:17:35 +00:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-12-21 03:17:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<ulong>("Count").HasColumnType("INTEGER");
2018-12-21 13:25:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Name").HasColumnType("TEXT");
2018-12-21 03:17:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Synchronized").HasColumnType("INTEGER");
2018-12-21 03:17:35 +00:00
b.HasKey("Id");
b.ToTable("Filters");
});
modelBuilder.Entity("Aaru.Database.Models.Media", b =>
2018-12-21 03:34:54 +00:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-12-21 03:34:54 +00:00
2020-07-10 17:38:52 +01:00
b.Property<ulong>("Count").HasColumnType("INTEGER");
2018-12-21 13:25:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Real").HasColumnType("INTEGER");
2018-12-21 03:34:54 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Synchronized").HasColumnType("INTEGER");
2018-12-21 03:34:54 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Type").HasColumnType("TEXT");
2018-12-21 03:34:54 +00:00
b.HasKey("Id");
b.ToTable("Medias");
});
modelBuilder.Entity("Aaru.Database.Models.MediaFormat", b =>
2018-12-21 03:17:35 +00:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-12-21 03:17:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<ulong>("Count").HasColumnType("INTEGER");
2018-12-21 13:25:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Name").HasColumnType("TEXT");
2018-12-21 03:17:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Synchronized").HasColumnType("INTEGER");
2018-12-21 03:17:35 +00:00
b.HasKey("Id");
b.ToTable("MediaFormats");
});
modelBuilder.Entity("Aaru.Database.Models.OperatingSystem", b =>
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<ulong>("Count").HasColumnType("INTEGER");
2018-12-21 13:25:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Name").HasColumnType("TEXT");
2020-07-10 17:38:52 +01:00
b.Property<bool>("Synchronized").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<string>("Version").HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("OperatingSystems");
});
modelBuilder.Entity("Aaru.Database.Models.Partition", b =>
2018-12-21 03:17:35 +00:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-12-21 03:17:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<ulong>("Count").HasColumnType("INTEGER");
2018-12-21 13:25:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Name").HasColumnType("TEXT");
2018-12-21 03:17:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Synchronized").HasColumnType("INTEGER");
2018-12-21 03:17:35 +00:00
b.HasKey("Id");
b.ToTable("Partitions");
});
modelBuilder.Entity("Aaru.Database.Models.RemoteApplication", b =>
2019-12-07 18:50:53 +00:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2019-12-07 18:50:53 +00:00
2020-07-10 17:38:52 +01:00
b.Property<ulong>("Count").HasColumnType("INTEGER");
2019-12-07 18:50:53 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Name").HasColumnType("TEXT");
2019-12-07 18:50:53 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Synchronized").HasColumnType("INTEGER");
2019-12-07 18:50:53 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Version").HasColumnType("TEXT");
2019-12-07 18:50:53 +00:00
b.HasKey("Id");
b.ToTable("RemoteApplications");
});
modelBuilder.Entity("Aaru.Database.Models.RemoteArchitecture", b =>
2019-12-07 18:50:53 +00:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2019-12-07 18:50:53 +00:00
2020-07-10 17:38:52 +01:00
b.Property<ulong>("Count").HasColumnType("INTEGER");
2019-12-07 18:50:53 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Name").HasColumnType("TEXT");
2019-12-07 18:50:53 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Synchronized").HasColumnType("INTEGER");
2019-12-07 18:50:53 +00:00
b.HasKey("Id");
b.ToTable("RemoteArchitectures");
});
modelBuilder.Entity("Aaru.Database.Models.RemoteOperatingSystem", b =>
2019-12-07 18:50:53 +00:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2019-12-07 18:50:53 +00:00
2020-07-10 17:38:52 +01:00
b.Property<ulong>("Count").HasColumnType("INTEGER");
2019-12-07 18:50:53 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Name").HasColumnType("TEXT");
2019-12-07 18:50:53 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Synchronized").HasColumnType("INTEGER");
2019-12-07 18:50:53 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Version").HasColumnType("TEXT");
2019-12-07 18:50:53 +00:00
b.HasKey("Id");
b.ToTable("RemoteOperatingSystems");
});
modelBuilder.Entity("Aaru.Database.Models.Report", b =>
2018-11-27 01:41:50 +00:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("ATAId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("ATAPIId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("CompactFlash").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<DateTime>("Created").HasColumnType("TEXT");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("FireWireId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
b.Property<int?>("GdRomSwapDiscCapabilitiesId").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<string>("Manufacturer").HasColumnType("TEXT");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Model").HasColumnType("TEXT");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("MultiMediaCardId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("PCMCIAId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Revision").HasColumnType("TEXT");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("SCSIId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("SecureDigitalId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int>("Type").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<int?>("USBId").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Uploaded").HasColumnType("INTEGER");
2018-11-27 01:41:50 +00:00
b.HasKey("Id");
b.HasIndex("ATAId");
b.HasIndex("ATAPIId");
b.HasIndex("FireWireId");
b.HasIndex("GdRomSwapDiscCapabilitiesId");
2018-11-27 01:41:50 +00:00
b.HasIndex("MultiMediaCardId");
b.HasIndex("PCMCIAId");
b.HasIndex("SCSIId");
b.HasIndex("SecureDigitalId");
b.HasIndex("USBId");
b.ToTable("Reports");
});
modelBuilder.Entity("Aaru.Database.Models.UsbProduct", b =>
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<DateTime>("AddedWhen").HasColumnType("TEXT");
2020-07-10 17:38:52 +01:00
b.Property<DateTime>("ModifiedWhen").HasColumnType("TEXT");
2020-07-10 17:38:52 +01:00
b.Property<string>("Product").HasColumnType("TEXT");
2020-07-10 17:38:52 +01:00
b.Property<ushort>("ProductId").HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<ushort>("VendorId").HasColumnType("INTEGER");
b.HasKey("Id");
2020-07-10 17:38:52 +01:00
b.HasIndex("ModifiedWhen");
b.HasIndex("ProductId");
b.HasIndex("VendorId");
b.ToTable("UsbProducts");
});
modelBuilder.Entity("Aaru.Database.Models.UsbVendor", b =>
{
2020-07-10 17:38:52 +01:00
b.Property<ushort>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2020-07-10 17:38:52 +01:00
b.Property<DateTime>("AddedWhen").HasColumnType("TEXT");
2020-07-10 17:38:52 +01:00
b.Property<DateTime>("ModifiedWhen").HasColumnType("TEXT");
2020-07-10 17:38:52 +01:00
b.Property<string>("Vendor").HasColumnType("TEXT");
b.HasKey("Id");
2020-07-10 17:38:52 +01:00
b.HasIndex("ModifiedWhen");
b.ToTable("UsbVendors");
});
modelBuilder.Entity("Aaru.Database.Models.Version", b =>
2018-12-21 04:17:14 +00:00
{
2020-07-10 17:38:52 +01:00
b.Property<int>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
2018-12-21 04:17:14 +00:00
2020-07-10 17:38:52 +01:00
b.Property<ulong>("Count").HasColumnType("INTEGER");
2018-12-21 13:25:35 +00:00
2020-07-10 17:38:52 +01:00
b.Property<string>("Name").HasColumnType("TEXT");
2018-12-21 04:17:14 +00:00
2020-07-10 17:38:52 +01:00
b.Property<bool>("Synchronized").HasColumnType("INTEGER");
2018-12-21 04:17:14 +00:00
b.HasKey("Id");
b.ToTable("Versions");
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Ata",
b => b.HasOne("Aaru.CommonTypes.Metadata.TestedMedia", "ReadCapabilities").WithMany().
HasForeignKey("ReadCapabilitiesId").OnDelete(DeleteBehavior.SetNull));
2019-11-03 01:41:30 +00:00
modelBuilder.Entity("Aaru.CommonTypes.Metadata.BlockDescriptor",
b => b.HasOne("Aaru.CommonTypes.Metadata.ScsiMode", null).WithMany("BlockDescriptors").
HasForeignKey("ScsiModeId").OnDelete(DeleteBehavior.Cascade));
2019-11-03 01:41:30 +00:00
modelBuilder.Entity("Aaru.CommonTypes.Metadata.DensityCode",
b => b.HasOne("Aaru.CommonTypes.Metadata.SscSupportedMedia", null).
WithMany("DensityCodes").HasForeignKey("SscSupportedMediaId").
OnDelete(DeleteBehavior.Cascade));
2019-11-03 01:41:30 +00:00
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Mmc",
b => b.HasOne("Aaru.CommonTypes.Metadata.MmcFeatures", "Features").WithMany().
HasForeignKey("FeaturesId").OnDelete(DeleteBehavior.SetNull));
2018-08-05 19:37:39 +01:00
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Scsi", b =>
{
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.ScsiMode", "ModeSense").WithMany().HasForeignKey("ModeSenseId").
OnDelete(DeleteBehavior.SetNull);
2018-08-05 19:37:39 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Mmc", "MultiMediaDevice").WithMany().
2020-07-10 17:38:52 +01:00
HasForeignKey("MultiMediaDeviceId").OnDelete(DeleteBehavior.SetNull);
2018-08-05 19:37:39 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.TestedMedia", "ReadCapabilities").WithMany().
2020-07-10 17:38:52 +01:00
HasForeignKey("ReadCapabilitiesId").OnDelete(DeleteBehavior.SetNull);
2018-08-05 19:37:39 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Ssc", "SequentialDevice").WithMany().
2020-07-10 17:38:52 +01:00
HasForeignKey("SequentialDeviceId").OnDelete(DeleteBehavior.SetNull);
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.ScsiPage", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Scsi", null).WithMany("EVPDPages").HasForeignKey("ScsiId").
OnDelete(DeleteBehavior.SetNull);
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.ScsiMode", null).WithMany("ModePages").HasForeignKey("ScsiModeId").
OnDelete(DeleteBehavior.SetNull);
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.SscSupportedMedia", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Ssc", null).WithMany("SupportedMediaTypes").HasForeignKey("SscId").
OnDelete(DeleteBehavior.SetNull);
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.TestedSequentialMedia", null).WithMany("SupportedMediaTypes").
HasForeignKey("TestedSequentialMediaId").OnDelete(DeleteBehavior.SetNull);
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.SupportedDensity", b =>
{
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Ssc", null).WithMany("SupportedDensities").HasForeignKey("SscId").
OnDelete(DeleteBehavior.Cascade);
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.TestedSequentialMedia", null).WithMany("SupportedDensities").
HasForeignKey("TestedSequentialMediaId").OnDelete(DeleteBehavior.Cascade);
});
2018-08-05 19:37:39 +01:00
modelBuilder.Entity("Aaru.CommonTypes.Metadata.TestedMedia", b =>
2018-08-05 19:37:39 +01:00
{
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Ata", null).WithMany("RemovableMedias").HasForeignKey("AtaId").
OnDelete(DeleteBehavior.SetNull);
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Chs", "CHS").WithMany().HasForeignKey("CHSId").
OnDelete(DeleteBehavior.SetNull);
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Chs", "CurrentCHS").WithMany().HasForeignKey("CurrentCHSId").
OnDelete(DeleteBehavior.SetNull);
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Mmc", null).WithMany("TestedMedia").HasForeignKey("MmcId").
OnDelete(DeleteBehavior.Cascade);
2018-08-05 19:37:39 +01:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Scsi", null).WithMany("RemovableMedias").HasForeignKey("ScsiId").
OnDelete(DeleteBehavior.SetNull);
2018-08-05 19:37:39 +01:00
});
modelBuilder.Entity("Aaru.CommonTypes.Metadata.TestedSequentialMedia",
b => b.HasOne("Aaru.CommonTypes.Metadata.Ssc", null).WithMany("TestedMedia").
HasForeignKey("SscId").OnDelete(DeleteBehavior.SetNull));
2018-11-27 01:41:50 +00:00
modelBuilder.Entity("Aaru.Database.Models.Device", b =>
2018-11-27 01:41:50 +00:00
{
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Ata", "ATA").WithMany().HasForeignKey("ATAId").
OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Ata", "ATAPI").WithMany().HasForeignKey("ATAPIId").
OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.FireWire", "FireWire").WithMany().HasForeignKey("FireWireId").
OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
b.HasOne("Aaru.CommonTypes.Metadata.GdRomSwapDiscCapabilities", "GdRomSwapDiscCapabilities").WithMany().
HasForeignKey("GdRomSwapDiscCapabilitiesId");
b.HasOne("Aaru.CommonTypes.Metadata.MmcSd", "MultiMediaCard").WithMany().
2020-07-10 17:38:52 +01:00
HasForeignKey("MultiMediaCardId").OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Pcmcia", "PCMCIA").WithMany().HasForeignKey("PCMCIAId").
OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Scsi", "SCSI").WithMany().HasForeignKey("SCSIId").
OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
b.HasOne("Aaru.CommonTypes.Metadata.MmcSd", "SecureDigital").WithMany().
2020-07-10 17:38:52 +01:00
HasForeignKey("SecureDigitalId").OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Usb", "USB").WithMany().HasForeignKey("USBId").
OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
});
modelBuilder.Entity("Aaru.Database.Models.Report", b =>
2018-11-27 01:41:50 +00:00
{
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Ata", "ATA").WithMany().HasForeignKey("ATAId").
OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Ata", "ATAPI").WithMany().HasForeignKey("ATAPIId").
OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.FireWire", "FireWire").WithMany().HasForeignKey("FireWireId").
OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
b.HasOne("Aaru.CommonTypes.Metadata.GdRomSwapDiscCapabilities", "GdRomSwapDiscCapabilities").WithMany().
HasForeignKey("GdRomSwapDiscCapabilitiesId");
b.HasOne("Aaru.CommonTypes.Metadata.MmcSd", "MultiMediaCard").WithMany().
2020-07-10 17:38:52 +01:00
HasForeignKey("MultiMediaCardId").OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Pcmcia", "PCMCIA").WithMany().HasForeignKey("PCMCIAId").
OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Scsi", "SCSI").WithMany().HasForeignKey("SCSIId").
OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
b.HasOne("Aaru.CommonTypes.Metadata.MmcSd", "SecureDigital").WithMany().
2020-07-10 17:38:52 +01:00
HasForeignKey("SecureDigitalId").OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
2020-07-10 17:38:52 +01:00
b.HasOne("Aaru.CommonTypes.Metadata.Usb", "USB").WithMany().HasForeignKey("USBId").
OnDelete(DeleteBehavior.SetNull);
2018-11-27 01:41:50 +00:00
});
modelBuilder.Entity("Aaru.Database.Models.UsbProduct",
b => b.HasOne("Aaru.Database.Models.UsbVendor", "Vendor").WithMany("Products").
HasForeignKey("VendorId").OnDelete(DeleteBehavior.Cascade).IsRequired());
2018-08-05 19:37:39 +01:00
#pragma warning restore 612, 618
}
}
}