This commit is contained in:
sunkaixuan 2023-02-10 15:55:19 +08:00
parent 4ecbd45b85
commit 6efbd0f1b8

View File

@ -53,6 +53,8 @@ namespace OrmTest
{ {
Id = SqlFunc.Subqueryable<CodeFirstNoUpper>().Where(z => z.Id == it.Id).Select(z => z.Id) Id = SqlFunc.Subqueryable<CodeFirstNoUpper>().Where(z => z.Id == it.Id).Select(z => z.Id)
}).ToList(); }).ToList();
db.Queryable<CodeFirstNoUpper>().LeftJoin<CodeFirstNoUpper>((s, y) => s.Id == y.Id)
.Select((s, y) => y).ToList();
Console.WriteLine("#### CodeFirst end ####"); Console.WriteLine("#### CodeFirst end ####");
} }
} }