C# Class Raven.Client.AdvancedSessionExtensions

Afficher le fichier Open project: ravendb/ravendb.contrib

Méthodes publiques

Méthode Description
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.

Method Details

AddCascadeDeleteReference() public static méthode

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.
Résultat void

GetDatabaseCommands() public static méthode

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.
Résultat IDatabaseCommands

GetDatabaseName() public static méthode

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