Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTemplate.AreEqualFlushMode Method

Compares if the flush mode enumerations, Spring's TemplateFlushMode and NHibernates FlushMode have equal settings.

[Visual Basic]
Protected Sub AreEqualFlushMode( _
   ByVal tfm As TemplateFlushMode, _
   ByVal fm As FlushMode _
)
[C#]
protected bool AreEqualFlushMode(
   TemplateFlushMode tfm,
   FlushMode fm
);

Parameters

tfm
The template flush mode.
fm
The NHibernate flush mode.

Return Value

Returns true if both are Never, Auto, or Commit, false otherwise.

See Also

HibernateTemplate Class | Spring.Data.NHibernate Namespace