@ -14,6 +14,10 @@ namespace SqlSugar
{
return db.Ado.SqlQuery<string>(this.GetDataBaseSql);
}
public virtual List<string> GetDataBaseList()
return this.Context.Ado.SqlQuery<string>(this.GetDataBaseSql);
public virtual List<DbTableInfo> GetViewInfoList(bool isCache = true)
string cacheKey = "DbMaintenanceProvider.GetViewInfoList" + this.Context.CurrentConnectionConfig.ConfigId;
@ -10,6 +10,7 @@ namespace SqlSugar
#region DML
List<string> GetDataBaseList(SqlSugarClient db);
List<string> GetDataBaseList();
List<DbTableInfo> GetViewInfoList(bool isCache=true);
List<DbTableInfo> GetTableInfoList(bool isCache=true);
List<DbColumnInfo> GetColumnInfosByTableName(string tableName,bool isCache=true);