You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -91,10 +91,12 @@ public class Startup
91
91
92
92
## How Do You Use It?
93
93
The `AsQueryableValues` extension method is provided by the `BlazarTech.QueryableValues` namespace; therefore, you must add the following `using` directive to your source code file for it to appear as a method of your [DbContext] instance:
94
-
```
94
+
```c#
95
95
usingBlazarTech.QueryableValues;
96
96
```
97
97
98
+
> 💡 If you access your [DbContext] via an interface, you can also make the `AsQueryableValues` extension methods available on it by inheriting from the `IQueryableValuesEnabledDbContext` interface.
99
+
98
100
Below are a few examples composing a query using the values provided by an [IEnumerable<T>].
Copy file name to clipboardExpand all lines: docs/README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -87,10 +87,12 @@ public class Startup
87
87
88
88
## How Do You Use It?
89
89
The `AsQueryableValues` extension method is provided by the `BlazarTech.QueryableValues` namespace; therefore, you must add the following `using` directive to your source code file for it to appear as a method of your [DbContext] instance:
90
-
```
90
+
```c#
91
91
usingBlazarTech.QueryableValues;
92
92
```
93
93
94
+
> 💡 If you access your [DbContext] via an interface, you can also make the `AsQueryableValues` extension methods available on it by inheriting from the `IQueryableValuesEnabledDbContext` interface.
95
+
94
96
Below are a few examples composing a query using the values provided by an [IEnumerable<T>].
0 commit comments