Update 5.0.6.2 bug group by bool

This commit is contained in:
sunkaixuan
2022-03-27 15:48:01 +08:00
parent 9afdb9ce34
commit 403ff027f0
2 changed files with 21 additions and 9 deletions

View File

@@ -19,6 +19,12 @@ namespace OrmTest
x1 = SqlFunc.ToBool(x.ItemId)
})
.ToList();
db.CodeFirst.InitTables<UnitADSFA>();
var list2=db.Queryable<UnitADSFA>().GroupBy(it => new
{
it.A,
x=it.A.ToString()
}).ToList();
}
public class Unitasfa1sadfa
{
@@ -29,6 +35,9 @@ namespace OrmTest
}
public class UnitADSFA
{
public bool A { get; set; }
}
}
}