Update CodeFirst

This commit is contained in:
sunkaixuan 2024-11-17 12:45:36 +08:00
parent a8cb4fabb6
commit a72e62dc92
2 changed files with 2 additions and 1 deletions

View File

@ -430,6 +430,7 @@ AND syscomments.text LIKE '%"+tableName+"%'");
if (!schema.EqualCase("dbo"))
{
temp = temp.Replace("N'user'", $"N'schema'");
temp = temp.Replace("'user'", $"N'schema'");
}
string sql = string.Format(temp, columnName, tableName);
this.Context.Ado.ExecuteCommand(sql);

View File

@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.4.171-preview17</version>
<version>5.1.4.171-preview19</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>