From 7451ff9953b249d2cae8238d7f99c8a5f52298ad Mon Sep 17 00:00:00 2001 From: AliReZa Sabouri <7004080+alirezanet@users.noreply.github.com> Date: Tue, 28 Sep 2021 20:12:57 +0330 Subject: [PATCH] add EnableEntityFrameworkCompatibilityLayer --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 8b7f2aa6..3f0102d0 100644 --- a/README.md +++ b/README.md @@ -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