Exemplo n.º 1
0
 public static int?update(ChapterRelation chapterRelation)
 {
     return(Global.db.Updateable(chapterRelation).ExecuteCommand());
 }
Exemplo n.º 2
0
 public static int?insert(ChapterRelation chapterRelation)
 {
     return(chapterRelation.id != null?Global.db.Saveable <ChapterRelation>(chapterRelation).ExecuteCommand() : Global.db.Insertable(chapterRelation).ExecuteCommand());
 }