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