C# Class ParkerFox.Core.CQRS.AggregateRootStore

Inheritance: IAggregateRootStore
Mostrar archivo Open project: KHProjects/KH-Parker-Fox

Public Methods

Method 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 method

public GetAggregateRoot ( Type aggregateRootType, System.Guid aggregateRootId ) : IAggregateRoot
aggregateRootType System.Type
aggregateRootId System.Guid
return IAggregateRoot

GetAggregateRootVersion() public method

public GetAggregateRootVersion ( Type aggregateRootType, System.Guid aggregateRootId ) : int
aggregateRootType System.Type
aggregateRootId System.Guid
return int

SaveOrUpdate() public method

public SaveOrUpdate ( IAggregateRoot aggregateRoot, int version ) : void
aggregateRoot IAggregateRoot
version int
return void