mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Add demo
This commit is contained in:
parent
eda7c37d91
commit
3ee593bf0a
@ -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 ####");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user