This commit is contained in:
sunkaixuan 2023-01-12 17:11:26 +08:00
parent eda7c37d91
commit 3ee593bf0a

View File

@ -48,6 +48,11 @@ namespace OrmTest
{
Name = "a"
}).Where(it => it.Id != null).ExecuteCommand();
db.Queryable<CodeFirstNoUpper>()
.Select(it => new CodeFirstNoUpper()
{
Id = SqlFunc.Subqueryable<CodeFirstNoUpper>().Where(z => z.Id == it.Id).Select(z => z.Id)
}).ToList();
Console.WriteLine("#### CodeFirst end ####");
}
}