mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-15 20:49:31 +08:00
Update .net core version
This commit is contained in:
parent
01496670fd
commit
6b56d76373
@ -275,6 +275,17 @@ namespace SqlSugar
|
||||
#endregion
|
||||
|
||||
#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>
|
||||
///by current connection string
|
||||
/// </summary>
|
||||
|
Loading…
Reference in New Issue
Block a user