Skip to content

Commit

Permalink
Abp module integration instructions(中文)
Browse files Browse the repository at this point in the history
  • Loading branch information
maliming authored Oct 29, 2018
1 parent 95ec385 commit 1dc5237
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ Install-Package Abp.GeneralTree
dotnet add package Abp.GeneralTree
```

在模块中加入`GeneralTreeModule`依赖
``` c#
[DependsOn(typeof(GeneralTreeModule))]
public class YourProjectModule : AbpModule
{
//...
}
```

GeneralTree提供一个泛型`IGeneralTree`接口,实体继承此接口,传入泛型参数实体和主键(主键可以是值类型和引用类型)

值类型
Expand Down

0 comments on commit 1dc5237

Please sign in to comment.