Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionScope.DefaultFlushMode Property

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

[Visual Basic]
Public ReadOnly Property DefaultFlushMode() As FlushMode
   Public Get
   End Get
End Property
[C#]
public FlushMode DefaultFlushMode { public get; }

Remarks

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

SessionScope Class | Spring.Data.NHibernate.Support Namespace