C# Class TastyDomainDriven.MsSql.SqlAppendOnlyStoreAsync

Inheritance: IAppendOnlyAsync
Mostrar archivo Open project: jaceenet/TastyDomainDriven

Public Methods

Method Description
Append ( string name, byte data, long expectedVersion ) : System.Threading.Tasks.Task
Initialize ( ) : System.Threading.Tasks.Task
ReadRecords ( long afterVersion, int maxCount ) : Task
ReadRecords ( string name, long afterVersion, int maxCount ) : Task
SqlAppendOnlyStoreAsync ( string connectionString, string tableName = "events" ) : System.Collections.Generic

Method Details

Append() public method

public Append ( string name, byte data, long expectedVersion ) : System.Threading.Tasks.Task
name string
data byte
expectedVersion long
return System.Threading.Tasks.Task

Initialize() public method

public Initialize ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

ReadRecords() public method

public ReadRecords ( long afterVersion, int maxCount ) : Task
afterVersion long
maxCount int
return Task

ReadRecords() public method

public ReadRecords ( string name, long afterVersion, int maxCount ) : Task
name string
afterVersion long
maxCount int
return Task

SqlAppendOnlyStoreAsync() public method

public SqlAppendOnlyStoreAsync ( string connectionString, string tableName = "events" ) : System.Collections.Generic
connectionString string
tableName string
return System.Collections.Generic