Browse Source

Update db.DbMain.GetTableInfoList

pull/25/head
sunkaixuan 2 years ago
parent
commit
772383c2b2
  1. 2
      Src/Asp.Net/SqlSugar/Realization/SqlServer/DbMaintenance/SqlServerDbMaintenance.cs

2
Src/Asp.Net/SqlSugar/Realization/SqlServer/DbMaintenance/SqlServerDbMaintenance.cs

@ -68,7 +68,7 @@ namespace SqlSugar
{
get
{
return @"SELECT s.Name,Convert(varchar(max),tbp.value) as Description
return @"SELECT s.Name,Convert(nvarchar(max),tbp.value) as Description
FROM sysobjects s
LEFT JOIN sys.extended_properties as tbp ON s.id=tbp.major_id and tbp.minor_id=0 AND (tbp.Name='MS_Description' OR tbp.Name is null) WHERE s.xtype IN('U') ";
}

Loading…
Cancel
Save