C# Class Raven.Client.Document.DocumentConvention

The set of conventions used by the DocumentStore which allow the users to customize the way the Raven client API behaves
Afficher le fichier Open project: markrendle/ravendb Class Usage Examples

Méthodes publiques

Méthode Description
CreateSerializer ( ) : JsonSerializer
DefaultTypeTagName ( Type t ) : string
DocumentConvention ( ) : System
GenerateDocumentKey ( object entity ) : string
GenerateDocumentKeyUsingIdentity ( DocumentConvention conventions, object entity ) : string
GetIdentityProperty ( Type type ) : PropertyInfo
GetTypeTagName ( Type type ) : string

Method Details

CreateSerializer() public méthode

public CreateSerializer ( ) : JsonSerializer
Résultat Newtonsoft.Json.JsonSerializer

DefaultTypeTagName() public static méthode

public static DefaultTypeTagName ( Type t ) : string
t System.Type
Résultat string

DocumentConvention() public méthode

public DocumentConvention ( ) : System
Résultat System

GenerateDocumentKey() public méthode

public GenerateDocumentKey ( object entity ) : string
entity object
Résultat string

GenerateDocumentKeyUsingIdentity() public static méthode

public static GenerateDocumentKeyUsingIdentity ( DocumentConvention conventions, object entity ) : string
conventions DocumentConvention
entity object
Résultat string

GetIdentityProperty() public méthode

public GetIdentityProperty ( Type type ) : PropertyInfo
type System.Type
Résultat System.Reflection.PropertyInfo

GetTypeTagName() public méthode

public GetTypeTagName ( Type type ) : string
type System.Type
Résultat string