Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionScopeSettings.DefaultFlushMode Property

Gets or Sets the flushmode to be applied on each newly created session.

[Visual Basic]
Public Property DefaultFlushMode() As FlushMode
   Public Get
   End Get
   Public Set
   End Set
End Property
public FlushMode DefaultFlushMode { public get; public set; }


This property defaults to Never to ensure that modifying objects outside the boundaries of a transaction will not be persisted. It is recommended to not change this value but wrap any modifying operation within a transaction.

See Also

SessionScopeSettings Class | Spring.Data.NHibernate.Support Namespace