mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Synchronization code
This commit is contained in:
@@ -465,6 +465,10 @@ WHERE EVENT_OBJECT_TABLE = '"+tableName+"'");
|
||||
|
||||
}
|
||||
sql = sql.Replace("$PrimaryKey", primaryKeyInfo);
|
||||
if (!string.IsNullOrEmpty(StaticConfig.CodeFirst_MySqlTableEngine))
|
||||
{
|
||||
sql += " ENGINE = " + StaticConfig.CodeFirst_MySqlTableEngine;
|
||||
}
|
||||
this.Context.Ado.ExecuteCommand(sql);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user