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