update

28810
2020-07-31 14:12:20 +08:00
parent b834c06c86
commit 356c0096ad
4 changed files with 4 additions and 4 deletions

2
AOP.md

@@ -71,7 +71,7 @@ A 为了考虑一致性用法,全部封装在 ColumnAttribute 下,这样
FreeSql 提供 AOP 自定义特性功能,实现与多个 orm 共同拥有一套实体特性,可避免重复定义特性。
> v1.4.0+ 已自动识别 EFCore 实体特性 Key/Required/NotMapped/Table/Column
> v1.4.0+ 已自动识别 EFCore 实体特性 Key/Required/NotMapped/MaxLength/StringLength/DatabaseGenerated/Table/Column
```csharp
fsql.Aop.ConfigEntity += (s, e) => {

@@ -1,5 +1,5 @@
v1.4.0+ 已自动识别 EFCore 实体特性 Key/Required/NotMapped/Table/Column
v1.4.0+ 已自动识别 EFCore 实体特性 Key/Required/NotMapped/MaxLength/StringLength/DatabaseGenerated/Table/Column
## 主键(Primary Key)

@@ -1,6 +1,6 @@
本功能可实现与其他 ORM 使用一套 Attribute避免维护两份实体特性的烦恼
> v1.4.0+ 已自动识别 EFCore 实体特性 Key/Required/NotMapped/Table/Column
> v1.4.0+ 已自动识别 EFCore 实体特性 Key/Required/NotMapped/MaxLength/StringLength/DatabaseGenerated/Table/Column
```csharp
fsql.Aop.ConfigEntity += (s, e) => {

@@ -378,7 +378,7 @@ var sql1 = fsql.Select<SysModule>()
本功能可实现与其他 ORM 使用一套 Attribute避免维护两份实体特性的烦恼
> v1.4.0+ 已自动识别 EFCore 实体特性 Key/Required/NotMapped/Table/Column
> v1.4.0+ 已自动识别 EFCore 实体特性 Key/Required/NotMapped/MaxLength/StringLength/DatabaseGenerated/Table/Column
```csharp
fsql.Aop.ConfigEntity += (s, e) => {