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

@ -31,6 +31,10 @@ This article will introduce a very simple CRUD operation method of BaseEntity.
> dotnet add package FreeSql.Provider.Sqlite
```csharp
BaseEntity.Initialization(fsql, null);
```
1. Define an auto-increment primary key of type `int`. When the `TKey` of `BaseEntity` is specified as `int/long`, the primary key will be considered as auto-increment;
```csharp