|
@ -275,6 +275,17 @@ namespace SqlSugar |
|
|
#endregion
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
#region Methods
|
|
|
#region Methods
|
|
|
|
|
|
public override bool AddColumnRemark(string columnName, string tableName, string description) |
|
|
|
|
|
{ |
|
|
|
|
|
//base.AddColumnRemark(columnName, tableName, description);
|
|
|
|
|
|
var message= @"db.DbMaintenance.UpdateColumn(""tablename"", new DbColumnInfo()
|
|
|
|
|
|
{{ |
|
|
|
|
|
DataType = ""VARCHAR(30) NOT NULL COMMENT 'xxxxx'"", |
|
|
|
|
|
DbColumnName = ""columnname"" |
|
|
|
|
|
}})" ;
|
|
|
|
|
|
Check.Exception(true,"MySql no support AddColumnRemark , use " + message); |
|
|
|
|
|
return true; |
|
|
|
|
|
} |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
///by current connection string
|
|
|
///by current connection string
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|