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
파일 보기 프로젝트 열기: markrendle/ravendb 1 사용 예제들

공개 메소드들

메소드 설명
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