docs: #319 adding section indices to GanjoorVerseViewModel

This commit is contained in:
Hamid Reza Mohammadi 2022-05-09 20:33:22 +04:30
parent 99222c74f6
commit 299ef5bfe2
4 changed files with 53 additions and 2 deletions

View File

@ -10,7 +10,6 @@
/// </summary>
public int Id { get; set; }
/// <summary>
/// vorder
/// </summary>
@ -26,6 +25,26 @@
/// </summary>
public VersePosition VersePosition { get; set; }
/// <summary>
/// GanjoorPoemSection index
/// </summary>
public int? SectionIndex1 { get; set; }
/// <summary>
/// second GanjoorPoemSection index
/// </summary>
public int? SectionIndex2 { get; set; }
/// <summary>
/// third GanjoorPoemSection index
/// </summary>
public int? SectionIndex3 { get; set; }
/// <summary>
/// forth GanjoorPoemSection index
/// </summary>
public int? SectionIndex4 { get; set; }
/// <summary>
/// text
/// </summary>

View File

@ -8989,7 +8989,11 @@
poem section correction view model
</summary>
</member>
<!-- Badly formed XML comment ignored for member "P:RMuseum.Models.Ganjoor.ViewModels.GanjoorPoemSectionCorrectionViewModel.Id" -->
<member name="P:RMuseum.Models.Ganjoor.ViewModels.GanjoorPoemSectionCorrectionViewModel.Id">
<summary>
Correction Id
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.ViewModels.GanjoorPoemSectionCorrectionViewModel.SectionId">
<summary>
section id
@ -9581,6 +9585,26 @@
position
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.ViewModels.GanjoorVerseViewModel.SectionIndex1">
<summary>
GanjoorPoemSection index
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.ViewModels.GanjoorVerseViewModel.SectionIndex2">
<summary>
second GanjoorPoemSection index
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.ViewModels.GanjoorVerseViewModel.SectionIndex3">
<summary>
third GanjoorPoemSection index
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.ViewModels.GanjoorVerseViewModel.SectionIndex4">
<summary>
forth GanjoorPoemSection index
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.ViewModels.GanjoorVerseViewModel.Text">
<summary>
text

View File

@ -1649,6 +1649,10 @@ namespace RMuseum.Services.Implementation
CoupletIndex = v.CoupletIndex,
VersePosition = v.VersePosition,
Text = v.Text,
SectionIndex1 = v.SectionIndex1,
SectionIndex2 = v.SectionIndex2,
SectionIndex3 = v.SectionIndex3,
SectionIndex4 = v.SectionIndex4,
}
).AsNoTracking().ToArrayAsync();
};

View File

@ -248,6 +248,10 @@ namespace RMuseum.Services.Implementation
CoupletIndex = pv.CoupletIndex,
VOrder = pv.VOrder,
Text = pv.Text,
SectionIndex1 = pv.SectionIndex1,
SectionIndex2 = pv.SectionIndex2,
SectionIndex3 = pv.SectionIndex3,
SectionIndex4 = pv.SectionIndex4,
}
).Single(),
TText = v.TText