Namespaces

Types

Type Environment

Namespace NHibernate.Cfg

Methods

Properties

Fields

Public instance methods

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

string ToString()

Parameters
return string

Public static methods

IBytecodeProvider BuildBytecodeProvider(IDictionary properties)

Parameters
return IBytecodeProvider
IDictionary properties

void VerifyProperties(IDictionary props)

Issue warnings to user when any obsolete property names are used.
Parameters
IDictionary props

Public properties

IBytecodeProvider BytecodeProvider get; set;

The bytecode provider to use.
This property is read from the section of the application configuration file by default. Since it is not always convenient to configure NHibernate through the application configuration file, it is also possible to set the property value manually. This should only be done before a configuration object is created, otherwise the change may not take effect.
return IBytecodeProvider

IDictionary Properties get;

Gets a copy of the configuration found in section of app.config/web.config.
This is the replacement for hibernate.properties
return IDictionary

bool UseReflectionOptimizer get; set;

Whether to enable the use of reflection optimizer
This property is read from the section of the application configuration file by default. Since it is not always convenient to configure NHibernate through the application configuration file, it is also possible to set the property value manually. This should only be done before a configuration object is created, otherwise the change may not take effect.
return bool

bool UseStreamsForBinary get;

return bool

string Version get;

NHibernate version (informational).
return string

Public fields

string ConnectionProvider

return string

string ConnectionDriver

return string

string ConnectionString

return string

string Isolation

return string

string ReleaseConnections

return string

string ConnectionStringName

Used to find the .Net 2.0 named connection string
return string

string SessionFactoryName

return string

string Dialect

return string

string DefaultSchema

return string

string ShowSql

return string

string MaxFetchDepth

return string

string CurrentSessionContextClass

return string

string UseGetGeneratedKeys

return string

string StatementFetchSize

return string

string BatchVersionedData

return string

string OutputStylesheet

return string

string TransactionStrategy

return string

string TransactionManagerStrategy

return string

string CacheProvider

return string

string UseQueryCache

return string

string QueryCacheFactory

return string

string UseSecondLevelCache

return string

string CacheRegionPrefix

return string

string UseMinimalPuts

return string

string QuerySubstitutions

return string

string QueryTranslator

return string

string QueryImports

return string

string Hbm2ddlAuto

return string

string SqlExceptionConverter

return string

string WrapResultSets

return string

string PrepareSql

return string

string CommandTimeout

return string

string BatchSize

return string

string PropertyBytecodeProvider

return string

string PropertyUseReflectionOptimizer

return string

string UseProxyValidator

return string