C# Класс Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
FLUSHMODE_DEFAULT FlushMode

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
ResolveEntityInterceptor ( ) : IInterceptor

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

Описание методов

ResolveEntityInterceptor() защищенный Метод

Override this method to resolve an IInterceptor instance according to your chosen strategy.
protected ResolveEntityInterceptor ( ) : IInterceptor
Результат IInterceptor

SessionPerConversationScopeSettings() публичный Метод

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
Результат System

SessionPerConversationScopeSettings() публичный Метод

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. ///
Результат System

Описание свойств

FLUSHMODE_DEFAULT публичное статическое свойство

Default value for DefaultFlushMode property.
public static FlushMode FLUSHMODE_DEFAULT
Результат FlushMode