C# Class Raven.Client.Document.MultiTypeHiLoKeyGenerator

Generate a hilo key for each given type
Mostra file Open project: markrendle/ravendb Class Usage Examples

Public Methods

Method Description
GenerateDocumentKey ( DocumentConvention conventions, object entity ) : string
MultiTypeHiLoKeyGenerator ( IDatabaseCommands databaseCommands, int capacity ) : System

Method Details

GenerateDocumentKey() public method

public GenerateDocumentKey ( DocumentConvention conventions, object entity ) : string
conventions DocumentConvention
entity object
return string

MultiTypeHiLoKeyGenerator() public method

public MultiTypeHiLoKeyGenerator ( IDatabaseCommands databaseCommands, int capacity ) : System
databaseCommands IDatabaseCommands
capacity int
return System