Skip to content
This repository was archived by the owner on Feb 1, 2025. It is now read-only.

Commit 77b8ae3

Browse files
authored
Update README.md
1 parent 3c26169 commit 77b8ae3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ using (var dc = options.CreateLinqToDbConnection())
7878
}
7979
```
8080

81-
You can use all `LINQ To DB` extension functions in your EF linq queries. Just ensure you have called `ToLinqToDB()` function before materializing objects.
81+
You can use all `LINQ To DB` extension functions in your EF linq queries. Just ensure you have called `ToLinqToDB()` function before materializing objects for synchronous methods.
82+
83+
Since EF Core have defined it's own asynchronous methods, we have to duplicate them to resolve naming collisions.
84+
Async methods have the same name but with `LinqToDB` suffix. E.g. `ToListAsyncLinqToDB()`, `SumAsyncLinqToDB()`, ect. The same methods are added whe you need `EF Core` query processing but there is collision with `LINQ To DB` and they have extensions with `EF` suffix - `ToListAsyncEF()`, `SumAsyncEF()`, ect.
8285

8386
```cs
8487
using (var ctx = CreateAdventureWorksContext())

0 commit comments

Comments
 (0)