C# Класс 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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

CreateSerializer() публичный Метод

public CreateSerializer ( ) : JsonSerializer
Результат Newtonsoft.Json.JsonSerializer

DefaultTypeTagName() публичный статический Метод

public static DefaultTypeTagName ( Type t ) : string
t System.Type
Результат string

DocumentConvention() публичный Метод

public DocumentConvention ( ) : System
Результат System

GenerateDocumentKey() публичный Метод

public GenerateDocumentKey ( object entity ) : string
entity object
Результат string

GenerateDocumentKeyUsingIdentity() публичный статический Метод

public static GenerateDocumentKeyUsingIdentity ( DocumentConvention conventions, object entity ) : string
conventions DocumentConvention
entity object
Результат string

GetIdentityProperty() публичный Метод

public GetIdentityProperty ( Type type ) : PropertyInfo
type System.Type
Результат System.Reflection.PropertyInfo

GetTypeTagName() публичный Метод

public GetTypeTagName ( Type type ) : string
type System.Type
Результат string