C# 클래스 Raven.Client.AdvancedSessionExtensions

파일 보기 프로젝트 열기: ravendb/ravendb.contrib

공개 메소드들

메소드 설명
AddCascadeDeleteReference ( this session, object entity ) : void

Adds one or more document keys to an entity's cascade delete metadata. Requires the cascade delete bundle on the server.

GetDatabaseCommands ( this session ) : IDatabaseCommands

Provides access to DatabaseCommands for the same database that the session was opened for.

GetDatabaseName ( this session ) : string

Gets the database name that the session was opened for.

메소드 상세

AddCascadeDeleteReference() 공개 정적인 메소드

Adds one or more document keys to an entity's cascade delete metadata. Requires the cascade delete bundle on the server.
public static AddCascadeDeleteReference ( this session, object entity ) : void
session this The Raven advanced session.
entity object The entity to update.
리턴 void

GetDatabaseCommands() 공개 정적인 메소드

Provides access to DatabaseCommands for the same database that the session was opened for.
public static GetDatabaseCommands ( this session ) : IDatabaseCommands
session this The Raven advanced session.
리턴 IDatabaseCommands

GetDatabaseName() 공개 정적인 메소드

Gets the database name that the session was opened for.
public static GetDatabaseName ( this session ) : string
session this The Raven advanced session.
리턴 string