C# Class Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings

Datei anzeigen Open project: spring-projects/spring-net Class Usage Examples

Public Properties

Property Type Description
FLUSHMODE_DEFAULT FlushMode

Public Methods

Method Description
SessionPerConversationScopeSettings ( ) : System

Initialize a new instance of SessionScopeSettings with default values.

Calling this constructor from your derived class leaves EntityInterceptor uninitialized. See ResolveEntityInterceptor for more.

SessionPerConversationScopeSettings ( IInterceptor entityInterceptor, FlushMode defaultFlushMode ) : System

Initialize a new instance of SessionPerConversationScopeSettings with the given values and references.

Calling this constructor marks all properties initialized.

Protected Methods

Method Description
ResolveEntityInterceptor ( ) : IInterceptor

Override this method to resolve an IInterceptor instance according to your chosen strategy.

Method Details

ResolveEntityInterceptor() protected method

Override this method to resolve an IInterceptor instance according to your chosen strategy.
protected ResolveEntityInterceptor ( ) : IInterceptor
return IInterceptor

SessionPerConversationScopeSettings() public method

Initialize a new instance of SessionScopeSettings with default values.
Calling this constructor from your derived class leaves EntityInterceptor uninitialized. See ResolveEntityInterceptor for more.
public SessionPerConversationScopeSettings ( ) : System
return System

SessionPerConversationScopeSettings() public method

Initialize a new instance of SessionPerConversationScopeSettings with the given values and references.
Calling this constructor marks all properties initialized.
public SessionPerConversationScopeSettings ( IInterceptor entityInterceptor, FlushMode defaultFlushMode ) : System
entityInterceptor IInterceptor /// Specify the to be set on each session provided by the instance. ///
defaultFlushMode FlushMode /// Specify the flushmode to be applied on each session provided by the instance. ///
return System

Property Details

FLUSHMODE_DEFAULT public_oe static_oe property

Default value for DefaultFlushMode property.
public static FlushMode FLUSHMODE_DEFAULT
return FlushMode