mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
Update pg sql
This commit is contained in:
parent
d9cebd441f
commit
2c145b0a82
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user