docs: #306 adding CachedFirstCoupletIndex to GanjoorPoemSection

This commit is contained in:
Hamid Reza Mohammadi 2022-04-25 19:59:00 +04:30
parent 736b1463da
commit 1669726fff
5 changed files with 4179 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,26 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace RMuseum.Migrations
{
public partial class SectionCoupletIndex : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "CachedFirstCoupletIndex",
table: "GanjoorPoemSections",
type: "int",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CachedFirstCoupletIndex",
table: "GanjoorPoemSections");
}
}
}

View File

@ -1305,6 +1305,9 @@ namespace RMuseum.Migrations
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
b.Property<int>("CachedFirstCoupletIndex")
.HasColumnType("int");
b.Property<int?>("GanjoorMetreId")
.HasColumnType("int");

View File

@ -90,6 +90,11 @@ namespace RMuseum.Models.Ganjoor
/// </summary>
public GanjoorPoemFormat? PoemFormat { get; set; }
/// <summary>
/// first couplet index
/// </summary>
public int CachedFirstCoupletIndex { get; set; }
/// <summary>
/// top 6 related sections
/// </summary>

View File

@ -7080,6 +7080,11 @@
valid for whole poem sections
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoemSection.CachedFirstCoupletIndex">
<summary>
first couplet index
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoemSection.Top6RelatedSections">
<summary>
top 6 related sections