mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update README.md
This commit is contained in:
@@ -26,7 +26,7 @@ https://github.com/sunkaixuan/SqlSugar/tree/master
|
||||
|
||||
# Let's look at a DEMO first
|
||||
```
|
||||
//创建一个DbContext类,使用DbSet(或者SimpleClient)
|
||||
//Create DbContext
|
||||
public class DbContext
|
||||
{
|
||||
public SqlSugarClient db;
|
||||
@@ -44,6 +44,7 @@ public class DbContext
|
||||
}
|
||||
public class Business : DbContext
|
||||
{
|
||||
//use DbContext
|
||||
public void GetAll()
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user