Class Options<TEntity>
- Namespace
- Tharga.MongoDB
- Assembly
- Tharga.MongoDB.dll
public record Options<TEntity> : IEquatable<Options<TEntity>>
Type Parameters
TEntity
- Inheritance
-
Options<TEntity>
- Implements
-
- Inherited Members
-
Properties
FetchSize
public int? FetchSize { get; init; }
Property Value
- int?
Limit
public int? Limit { get; init; }
Property Value
- int?
Projection
public ProjectionDefinition<TEntity> Projection { get; init; }
Property Value
- ProjectionDefinition<TEntity>
Skip
public int? Skip { get; init; }
Property Value
- int?
Sort
public SortDefinition<TEntity> Sort { get; init; }
Property Value
- SortDefinition<TEntity>
Operators
implicit operator Options<TEntity>(FindOptions<TEntity>)
public static implicit operator Options<TEntity>(FindOptions<TEntity> item)
Parameters
item FindOptions<TEntity>
Returns
- Options<TEntity>