public int Add(ScoreModel model) { //插入数据 return(builderFactory.Insert("Scores") .Column("ID", model.ID) .Column("LevelName", model.LevelName) .Column("Score", model.Score) .ToCommand() .ExecuteNonQuery(connFactory)); }