mirror of
				https://gitee.com/dotnetchina/SqlSugar.git
				synced 2025-10-31 08:26:51 +08:00 
			
		
		
		
	Update README.md
This commit is contained in:
		| @@ -86,10 +86,6 @@ var group = db.Queryable<Student>().GroupBy(it => it.Id) | |||||||
| .Select(it =>new { id = SqlFunc.AggregateCount(it.Id) }).ToList();p | .Select(it =>new { id = SqlFunc.AggregateCount(it.Id) }).ToList();p | ||||||
|  |  | ||||||
| //Page | //Page | ||||||
| var pageIndex = 1; |  | ||||||
| var pageSize = 2; |  | ||||||
| var totalCount = 0; |  | ||||||
| //page |  | ||||||
| var page = db.Queryable<Student>().ToPageList(pageIndex, pageSize, ref totalCount); | var page = db.Queryable<Student>().ToPageList(pageIndex, pageSize, ref totalCount); | ||||||
|  |  | ||||||
| //page join | //page join | ||||||
| @@ -112,8 +108,9 @@ var getAll = db.Queryable<Student, School>((st, sc) => new JoinQueryInfos( | |||||||
|  JoinType.Left,st.Id==sc.Id)) |  JoinType.Left,st.Id==sc.Id)) | ||||||
| .Where(st => st.Id == SqlFunc.Subqueryable<School>().Where(s => s.Id == st.Id).Select(s => s.Id)) | .Where(st => st.Id == SqlFunc.Subqueryable<School>().Where(s => s.Id == st.Id).Select(s => s.Id)) | ||||||
| .ToList(); | .ToList(); | ||||||
|        |  | ||||||
| ``` | ``` | ||||||
|  | More https://github.com/sunkaixuan/SqlSugar/wiki/1.Queryable | ||||||
|  |  | ||||||
|  ##  2. SqlSugarClient.Updateable |  ##  2. SqlSugarClient.Updateable | ||||||
| We use it to Update | We use it to Update | ||||||
|  ```cs |  ```cs | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 sunkaixuan
					sunkaixuan