 | BatchingSqlJournalTConnection, TCommandWriteEvent Method |
Perform write of persistent event with specified tags
into database using given command.
Namespace:
Akka.Persistence.Sql.Common.Journal
Assembly:
Akka.Persistence.Sql.Common (in Akka.Persistence.Sql.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxprotected virtual void WriteEvent(
TCommand command,
IPersistentRepresentation persistent,
string tags = ""
)
abstract WriteEvent :
command : 'TCommand *
persistent : IPersistentRepresentation *
?tags : string
(* Defaults:
let _tags = defaultArg tags ""
*)
-> unit
override WriteEvent :
command : 'TCommand *
persistent : IPersistentRepresentation *
?tags : string
(* Defaults:
let _tags = defaultArg tags ""
*)
-> unit
Parameters
- command
- Type: TCommand
Database command object used to store data. - persistent
- Type: Akka.PersistenceIPersistentRepresentation
Persistent event representation. - tags (Optional)
- Type: SystemString
Optional tags extracted from persistent event payload.
See Also