Browse Source

Update CodeFirstProvider

pull/19/head
sunkaixuan 2 years ago
parent
commit
22de65a1d6
  1. 1
      Src/Asp.NetCore2/SqlSugar/Abstract/CodeFirstProvider/CodeFirstProvider.cs

1
Src/Asp.NetCore2/SqlSugar/Abstract/CodeFirstProvider/CodeFirstProvider.cs

@ -229,6 +229,7 @@ namespace SqlSugar
if (!this.Context.DbMaintenance.IsAnyIndex(item.IndexName))
{
var querybulder = InstanceFactory.GetSqlbuilder(this.Context.CurrentConnectionConfig);
querybulder.Context = this.Context;
var fileds = item.IndexFields
.Select(it =>
{

Loading…
Cancel
Save