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
|
#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>
|
||||||
|
Loading…
Reference in New Issue
Block a user