Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

LocalSessionFactoryObject.NewConfiguration Method

Subclasses can override this method to perform custom initialization of the Configuration instance used for ISessionFactory creation.

[Visual Basic]
Protected Overridable Sub NewConfiguration()
protected virtual Configuration NewConfiguration();

Return Value

The configuration instance.


The properties of this LocalSessionFactoryObject will be applied to the Configuration object that gets returned here.

The default implementation creates a new Configuration instance. A custom implementation could prepare the instance in a specific way, or use a custom Configuration subclass.

See Also

LocalSessionFactoryObject Class | Spring.Data.NHibernate Namespace