Synchronization code

This commit is contained in:
sunkaixuan 2024-03-12 18:22:09 +08:00
parent 4d3aa8456a
commit 13a229106d

View File

@ -410,6 +410,15 @@ WHERE table_name = '" + tableName + "'");
}
return true;
}
public override bool AddTableRemark(string tableName, string description)
{
return base.AddTableRemark(SqlBuilder.GetTranslationColumnName(tableName), description);
}
public override bool AddColumnRemark(string columnName, string tableName, string description)
{
return base.AddColumnRemark(SqlBuilder.GetTranslationColumnName(columnName), SqlBuilder.GetTranslationColumnName(tableName), description);
}
public override List<DbColumnInfo> GetColumnInfosByTableName(string tableName, bool isCache = true)
{
string cacheKey = "DbMaintenanceProvider.GetColumnInfosByTableName." + this.SqlBuilder.GetNoTranslationColumnName(tableName).ToLower();