Definition
Namespace: EntityDb.Common.Projections
Assembly: EntityDb.Common
Provides basic functionality for the common implementation of projections.
1
public interface IProjection<TProjection> : EntityDb.Common.Snapshots.ISnapshot<TProjection>
Type Parameters
TProjection
Methods
Reduce(IEntityAnnotation<Object>) | Returns a new TProjection that incorporates the command for a particular entity id. |
GetCommandQuery(Pointer) | Returns a ICommandQuery that is used to load the rest of the state for the given projection pointer. |
GetProjectionIdOrDefault(Object) | Maps an entity to a projection id, or default if the entity does not map to this projection. |