Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionScopeSettings Members

SessionScopeSettings overview

Public Static (Shared) Fields

FLUSHMODE_DEFAULT Default value for DefaultFlushMode property.
SINGLESESSION_DEFAULT Default value for SingleSession property.

Public Instance Constructors

SessionScopeSettings Overloaded. Initializes a new instance of the SessionScopeSettings class.

Public Instance Properties

DefaultFlushMode Gets or Sets the flushmode to be applied on each newly created session.
EntityInterceptor Gets the configured IInterceptor instance to be used.
SessionFactory Gets the configured ISessionFactory instance to be used.
SingleSession Set whether to use a single session for each request. Default is "true". If set to false, each data access operation or transaction will use its own session (like without Open Session in View). Each of those sessions will be registered for deferred close, though, actually processed at request completion.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Constructors

SessionScopeSettings Overloaded. Initializes a new instance of the SessionScopeSettings class.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ResolveEntityInterceptor Override this method to resolve an IInterceptor instance according to your chosen strategy.
ResolveSessionFactory Override this method to resolve an ISessionFactory instance according to your chosen strategy.

See Also

SessionScopeSettings Class | Spring.Data.NHibernate.Support Namespace