Class EfCoreQueryOptions<T>
- Namespace
- Savvyio.Extensions.EFCore
- Assembly
- Savvyio.Extensions.EFCore.dll
Specifies options that is related to EfCoreDataStore<T>.
public class EfCoreQueryOptions<T> : AsyncOptions, IAsyncOptions, IParameterObject
Type Parameters
T
- Inheritance
-
EfCoreQueryOptions<T>
- Implements
- Inherited Members
Constructors
EfCoreQueryOptions()
Initializes a new instance of the EfCoreQueryOptions<T> class.
public EfCoreQueryOptions()
Remarks
The following table shows the initial property values for an instance of EfCoreQueryOptions<T>.
| Property | Initial Value |
|---|---|
| Predicate | null |
| CancellationToken | default |
Properties
Predicate
Gets or sets the predicate that matches one or more objects to retrieve in the associated IEfCoreDataSource.
public Expression<Func<T, bool>> Predicate { get; set; }
Property Value
- Expression<Func<T, bool>>
The predicate that matches one or more objects to retrieve in the associated IEfCoreDataSource.