Browse Source

Update .net core version

pull/19/head
sunkaixuan 3 years ago
parent
commit
6b56d76373
  1. 11
      Src/Asp.NetCore2/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs

11
Src/Asp.NetCore2/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs

@ -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…
Cancel
Save