update readme

This commit is contained in:
2881099
2023-07-12 01:22:43 +08:00
parent 72a59487e9
commit c055123919
2 changed files with 8 additions and 0 deletions

View File

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