Esempio n. 1
0
 public static TextExpanded ToDtoModelExpanded(this Sqlite.Model.Text text)
 {
     return(new TextExpanded(text.ToDtoModel())
     {
         Content = text.Content,
         Header = text.Header,
         Remarks = text.Remarks
     });
 }
Esempio n. 2
0
 public static Text ToDtoModel(this Sqlite.Model.Text text)
 {
     return(new Text
     {
         Alineaid = text.Alineaid,
         BookChapterAlineaid = text.BookChapterAlineaid,
         bookeditionid = text.bookeditionid,
         TextId = text.textid,
         timestamp = text.timestamp.DateTime
     });
 }