mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-05 11:27:41 +08:00
Update README.md
This commit is contained in:
@@ -286,7 +286,16 @@ db.Saveable<Student>(new Student() { Name = "" })
|
|||||||
```
|
```
|
||||||
|
|
||||||
## 9.EntityMain
|
## 9.EntityMain
|
||||||
|
```cs
|
||||||
|
var entityInfo=db.EntityMaintenance.GetEntityInfo<Student>();
|
||||||
|
foreach (var column in entityInfo.Columns)
|
||||||
|
{
|
||||||
|
Console.WriteLine(column.ColumnDescription);
|
||||||
|
}
|
||||||
|
```
|
||||||
## 10.DbMain
|
## 10.DbMain
|
||||||
|
|
||||||
|
|
||||||
## 11.AOP
|
## 11.AOP
|
||||||
```cs
|
```cs
|
||||||
db.Aop.OnLogExecuted = (sql, pars) => //SQL executed event
|
db.Aop.OnLogExecuted = (sql, pars) => //SQL executed event
|
||||||
|
|||||||
Reference in New Issue
Block a user