mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-10 11:25:00 +08:00
Update CodeFirstProvider
This commit is contained in:
@@ -229,6 +229,7 @@ namespace SqlSugar
|
|||||||
if (!this.Context.DbMaintenance.IsAnyIndex(item.IndexName))
|
if (!this.Context.DbMaintenance.IsAnyIndex(item.IndexName))
|
||||||
{
|
{
|
||||||
var querybulder = InstanceFactory.GetSqlbuilder(this.Context.CurrentConnectionConfig);
|
var querybulder = InstanceFactory.GetSqlbuilder(this.Context.CurrentConnectionConfig);
|
||||||
|
querybulder.Context = this.Context;
|
||||||
var fileds = item.IndexFields
|
var fileds = item.IndexFields
|
||||||
.Select(it =>
|
.Select(it =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user