C# Class ParkerFox.Core.CQRS.AggregateRootStore

Inheritance: IAggregateRootStore
Afficher le fichier Open project: KHProjects/KH-Parker-Fox

Méthodes publiques

Méthode Description
GetAggregateRoot ( Type aggregateRootType, System.Guid aggregateRootId ) : IAggregateRoot
GetAggregateRootVersion ( Type aggregateRootType, System.Guid aggregateRootId ) : int
SaveOrUpdate ( IAggregateRoot aggregateRoot, int version ) : void

Method Details

GetAggregateRoot() public méthode

public GetAggregateRoot ( Type aggregateRootType, System.Guid aggregateRootId ) : IAggregateRoot
aggregateRootType System.Type
aggregateRootId System.Guid
Résultat IAggregateRoot

GetAggregateRootVersion() public méthode

public GetAggregateRootVersion ( Type aggregateRootType, System.Guid aggregateRootId ) : int
aggregateRootType System.Type
aggregateRootId System.Guid
Résultat int

SaveOrUpdate() public méthode

public SaveOrUpdate ( IAggregateRoot aggregateRoot, int version ) : void
aggregateRoot IAggregateRoot
version int
Résultat void