update readme

This commit is contained in:
2881099
2023-07-11 19:51:30 +08:00
parent 170007e9b6
commit d54cabd270
2 changed files with 14 additions and 3 deletions

View File

@ -28,6 +28,10 @@ BaseEntity 是一种极简单的 CodeFirst 开发方式,特别对单表或多
> dotnet add package FreeSql.Provider.Sqlite
```csharp
BaseEntity.Initialization(fsql, null);
```
1、定义一个主键 int 并且自增的实体类型BaseEntity TKey 指定为 int/long 时,会认为主键是自增;
```csharp