張銀展
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
11 additions and
0 deletions
-
docs/README.md
|
|
|
@ -47,6 +47,17 @@ An abp module that provides standard tree structure entity implement. |
|
|
|
options.TreeEntity<Resource>(x => x.CodeLength = 10);//set CodeLength for each Entity(Default:5) |
|
|
|
}); |
|
|
|
``` |
|
|
|
## CheckPoints |
|
|
|
|
|
|
|
1.Check the module `DependsOn(typeof(AbpTreesXxxModule))` dependencies are config |
|
|
|
|
|
|
|
`XxxEntityFrameworkCoreModule`, `XxxDomainSharedModule`, `XxxDomainModule` |
|
|
|
|
|
|
|
2.Check `IYourRepository : ITreeRepository<YourEntity>` |
|
|
|
|
|
|
|
3.Be sure `YourEntity:XxxEntity<Guid>,ITree<YourEntity>` |
|
|
|
|
|
|
|
4.Be sure `XxxEntityFrameworkCoreModule` has config `options.AddDefaultTreeRepositories();` |
|
|
|
|
|
|
|
## Sample |
|
|
|
|
|
|
|
|