Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionScopeSettings.SessionFactory Property

Gets the configured ISessionFactory instance to be used.

[Visual Basic]
Public ReadOnly Property SessionFactory() As ISessionFactory
   Public Get
   End Get
End Property
public ISessionFactory SessionFactory { public get; }


If this property is requested for the first time, ResolveSessionFactory is called. This allows derived classes to override the behaviour of how to obtain the concrete ISessionFactory instance.


Exception Type Condition
ArgumentException If the ISessionFactory instance cannot be resolved.

See Also

SessionScopeSettings Class | Spring.Data.NHibernate.Support Namespace