mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add demo
This commit is contained in:
parent
eda7c37d91
commit
3ee593bf0a
@ -48,6 +48,11 @@ namespace OrmTest
|
|||||||
{
|
{
|
||||||
Name = "a"
|
Name = "a"
|
||||||
}).Where(it => it.Id != null).ExecuteCommand();
|
}).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 ####");
|
Console.WriteLine("#### CodeFirst end ####");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user