mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Update README.md
This commit is contained in:
parent
82f8fcc627
commit
48b11111a2
@ -319,7 +319,7 @@ catch (Exception)
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
## 7. Use SP
|
## 7. Use SP
|
||||||
```c
|
```c
|
||||||
//1. no result
|
//1. no result
|
||||||
db.UseStoredProcedure(() =>
|
db.UseStoredProcedure(() =>
|
||||||
{
|
{
|
||||||
@ -333,4 +333,4 @@ catch (Exception)
|
|||||||
string spName = "sp_help";
|
string spName = "sp_help";
|
||||||
return db.Ado.SqlQueryDynamic(spName, new { objname = "student" });
|
return db.Ado.SqlQueryDynamic(spName, new { objname = "student" });
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user