mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Merge branch 'dev' of github.com:sunkaixuan/SqlSugar
This commit is contained in:
@@ -27,6 +27,8 @@ There are 16 methods under SqlSugarClient
|
||||
|
||||
## Create SqlSugarClient
|
||||
All operations are based on SqlSugarClient
|
||||
|
||||
SqlSugarClient parameter and only one ConnectionConfig
|
||||
```cs
|
||||
public List<Student> GetStudentList()
|
||||
{
|
||||
@@ -65,12 +67,14 @@ public class Student
|
||||
public string Name { get; set; }
|
||||
}
|
||||
```
|
||||
|
||||
[<font color=red>View more >> </font>](https://github.com/sunkaixuan/SqlSugar/wiki/0.SqlSugarClient)
|
||||
|
||||
|
||||
## 1. Queryable
|
||||
We use it to query
|
||||

|
||||
|
||||
##### Here are some examples
|
||||
```cs
|
||||
//easy
|
||||
var getAll = db.Queryable<Student>().ToList();
|
||||
|
Reference in New Issue
Block a user