C# Class Raven.Bundles.CreatedDate.CreatedDateTrigger

A server-side trigger that adds a Created metadata value to every document being stored. Does not need to be "activated" like other bundles. Just drop it into the Plugins directory and it will be active on all new documents.
Inheritance: Raven.Database.Plugins.AbstractPutTrigger
Datei anzeigen Open project: ravendb/ravendb.contrib

Public Methods

Method Description
AfterPut ( string key, RavenJObject document, RavenJObject metadata, Etag etag, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : void

Method Details

AfterPut() public method

public AfterPut ( string key, RavenJObject document, RavenJObject metadata, Etag etag, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : void
key string
document RavenJObject
metadata RavenJObject
etag Etag
transactionInformation Raven.Abstractions.Data.TransactionInformation
return void