mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 12:33:44 +08:00
Update pg sql
This commit is contained in:
@@ -242,6 +242,18 @@ namespace SqlSugar
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Methods
|
#region Methods
|
||||||
|
public override bool AddColumnRemark(string columnName, string tableName, string description)
|
||||||
|
{
|
||||||
|
tableName = this.SqlBuilder.GetTranslationTableName(tableName);
|
||||||
|
string sql = string.Format(this.AddColumnRemarkSql, columnName, tableName, description);
|
||||||
|
this.Context.Ado.ExecuteCommand(sql);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
public override bool AddTableRemark(string tableName, string description)
|
||||||
|
{
|
||||||
|
tableName = this.SqlBuilder.GetTranslationTableName(tableName);
|
||||||
|
return base.AddTableRemark(tableName, description);
|
||||||
|
}
|
||||||
public override bool UpdateColumn(string tableName, DbColumnInfo columnInfo)
|
public override bool UpdateColumn(string tableName, DbColumnInfo columnInfo)
|
||||||
{
|
{
|
||||||
tableName = this.SqlBuilder.GetTranslationTableName(tableName);
|
tableName = this.SqlBuilder.GetTranslationTableName(tableName);
|
||||||
|
Reference in New Issue
Block a user