MySqlSugar
MySqlSugar copied to clipboard
we should changed the insert meothd
Insert Without the AUTO_INCREMENT
string sql = string.Format("alter table xxxtable AUTO_INCREMENT={0};", s); db.ExecuteCommand(sql);