mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:22:57 +08:00
Update CodeFirst
This commit is contained in:
parent
a8cb4fabb6
commit
a72e62dc92
@ -430,6 +430,7 @@ AND syscomments.text LIKE '%"+tableName+"%'");
|
|||||||
if (!schema.EqualCase("dbo"))
|
if (!schema.EqualCase("dbo"))
|
||||||
{
|
{
|
||||||
temp = temp.Replace("N'user'", $"N'schema'");
|
temp = temp.Replace("N'user'", $"N'schema'");
|
||||||
|
temp = temp.Replace("'user'", $"N'schema'");
|
||||||
}
|
}
|
||||||
string sql = string.Format(temp, columnName, tableName);
|
string sql = string.Format(temp, columnName, tableName);
|
||||||
this.Context.Ado.ExecuteCommand(sql);
|
this.Context.Ado.ExecuteCommand(sql);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>SqlSugarCore</id>
|
<id>SqlSugarCore</id>
|
||||||
<version>5.1.4.171-preview17</version>
|
<version>5.1.4.171-preview19</version>
|
||||||
<authors>sunkaixuan</authors>
|
<authors>sunkaixuan</authors>
|
||||||
<owners>果糖大数据科技</owners>
|
<owners>果糖大数据科技</owners>
|
||||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||||
|
Loading…
Reference in New Issue
Block a user