#399 MultiVolumePDFCollection + VolumeCount
This commit is contained in:
parent
1c90d9774a
commit
03347b3bfb
5015
RMuseum/Migrations/20230722164521_VolumeCount.Designer.cs
generated
Normal file
5015
RMuseum/Migrations/20230722164521_VolumeCount.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
29
RMuseum/Migrations/20230722164521_VolumeCount.cs
Normal file
29
RMuseum/Migrations/20230722164521_VolumeCount.cs
Normal file
@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class VolumeCount : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "VolumeCount",
|
||||
table: "MultiVolumePDFCollections",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "VolumeCount",
|
||||
table: "MultiVolumePDFCollections");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3019,6 +3019,9 @@ namespace RMuseum.Migrations
|
||||
b.Property<string>("Name")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int>("VolumeCount")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("BookId");
|
||||
|
||||
@ -29,5 +29,11 @@
|
||||
/// Description
|
||||
/// </summary>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// volume count
|
||||
/// </summary>
|
||||
public int VolumeCount { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -3368,6 +3368,18 @@
|
||||
<member name="M:RMuseum.Migrations.PDFLibNewFields.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:RMuseum.Migrations.VolumeCount">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.VolumeCount.Up(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.VolumeCount.Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.VolumeCount.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:RMuseum.Models.Accounting.DonationExpenditure">
|
||||
<summary>
|
||||
donation expenditures
|
||||
@ -11777,6 +11789,11 @@
|
||||
Description
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.PDFLibrary.MultiVolumePDFCollection.VolumeCount">
|
||||
<summary>
|
||||
volume count
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:RMuseum.Models.PDFLibrary.PDFBook">
|
||||
<summary>
|
||||
PDF Book
|
||||
|
||||
Loading…
Reference in New Issue
Block a user