Skip to content

Commit

Permalink
add EnableEntityFrameworkCompatibilityLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
alirezanet authored Sep 28, 2021
1 parent 7b9aa1f commit 7451ff9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,11 @@ This package have two additional `GridifyAsync()` and `GridifyQueryableAsync()`
```terminal
dotnet add package Gridify.EntityFramework
```
Also, I recommended to Enable EntityFramework compatibility layer if you using gridify on EF context.
```c#
// You should use this configuration in your startup class or main method.
GridifyGlobalConfiguration.EnableEntityFrameworkCompatibilityLayer();
```

---
## Compile and Reuse
Expand Down

0 comments on commit 7451ff9

Please sign in to comment.