Class CutoffFrozenQuery<T>
public sealed class CutoffFrozenQuery<T> : IFrozenQuery<T>, IEntityQuery<T>, IEntityQuery, IDisposable where T : IEntity
Type Parameters
T
- Inheritance
-
CutoffFrozenQuery<T>
- Implements
-
IFrozenQuery<T>IEntityQuery<T>
- Inherited Members
- Extension Methods
-
EntityQueryExtensions.OrderBy<TSource, TKey>(IEntityQuery<TSource>, Expression<Func<TSource, TKey>>)EntityQueryExtensions.SingleAsync<T>(IEntityQuery<T>, Expression<Func<T, bool>>, CancellationToken?)EntityQueryExtensions.SumAsync<T>(IEntityQuery<T>, Expression<Func<T, decimal>>, CancellationToken?)
Constructors
CutoffFrozenQuery(IEntityQueryProvider, DateTimeOffset, int)
public CutoffFrozenQuery(IEntityQueryProvider provider, DateTimeOffset cutoff, int count)
Parameters
providerIEntityQueryProvidercutoffDateTimeOffsetcountint
Properties
Count
Gets the number of elements that were present when the query was frozen.
public int Count { get; }
Property Value
ElementType
Gets the type of the element(s) that are returned when the expression tree associated with this instance of IEntityQuery is executed.
public Type ElementType { get; }
Property Value
Expression
Gets the expression tree that is associated with the instance of IEntityQuery.
public Expression Expression { get; }
Property Value
Provider
Gets the query provider that is associated with this data source.
public IEntityQueryProvider Provider { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
IsInMemory()
Returns true if the frozen query is at least partially-loaded. In-memory queries should not be transformed into ReadOperations for batching.
public bool IsInMemory()
Returns
TryPetrify(out QueryToken?)
public bool TryPetrify(out QueryToken? iceCube)
Parameters
iceCubeQueryToken