- 修复 DbContext/Repository Update 不更新 DbUpdateValue 的问题;#219

This commit is contained in:
28810
2020-02-28 10:41:03 +08:00
parent 761b6e0068
commit f22f65fee9
17 changed files with 321 additions and 18 deletions

View File

@@ -57,6 +57,14 @@ namespace FreeSql.Tests
.Any())
.ToSql(a => a.Name);
sql = context.Songs
.Where(a =>
context.Authors
.Select //加上这句就不报错,不加上报 variable 'a' of type 'Song' referenced from scope '', but it is not defined
.Where(b => b.SongId == a.Id)
.Any())
.ToSql(a => a.Name);
//using (var conn = new SqlConnection("Data Source=.;Integrated Security=True;Initial Catalog=webchat-abc;Pooling=true;Max Pool Size=13"))
//{
// conn.Open();