Collapse All
Expand All
Code: All
Code: Multiple
Code: C#
Code: Visual Basic
Code: Visual C++
Members: Show All
Members: Filtered
Members: Filtered
Members: Filtered
C#
Visual Basic
Visual C++
Include Protected Members
Include Inherited Members
NHibernate API Reference
Environment Fields
Environment Class
See Also
Send Feedback
The
Environment
type exposes the following members.
Fields
Name
Description
BatchSize
BatchStrategy
BatchVersionedData
CacheDefaultExpiration
CacheProvider
CacheRegionPrefix
CollectionTypeFactoryClass
CommandTimeout
ConnectionDriver
ConnectionProvider
ConnectionString
ConnectionStringName
Used to find the .Net 2.0 named connection string
CurrentSessionContextClass
DefaultBatchFetchSize
DefaultCatalog
A default database catalog name to use for unqualified tablenames
DefaultEntityMode
The EntityMode in which set the Session opened from the SessionFactory.
DefaultSchema
A default database schema (owner) name to use for unqualified tablenames
Dialect
FormatSql
Enable formatting of SQL logged to the console
GenerateStatistics
Enable statistics collection
Hbm2ddlAuto
Hbm2ddlKeyWords
Isolation
LinqToHqlGeneratorsRegistry
MaxFetchDepth
OrderInserts
Enable ordering of insert statements for the purpose of more effecient batching.
OutputStylesheet
PrepareSql
PropertyBytecodeProvider
PropertyUseReflectionOptimizer
ProxyFactoryFactoryClass
QueryCacheFactory
QueryImports
QueryStartupChecking
Should named queries be checked during startup (the default is enabled).
QuerySubstitutions
QueryTranslator
ReleaseConnections
SessionFactoryName
ShowSql
SqlExceptionConverter
StatementFetchSize
TransactionManagerStrategy
TransactionStrategy
UseGetGeneratedKeys
UseIdentifierRollBack
UseMinimalPuts
UseProxyValidator
UseQueryCache
UseSecondLevelCache
UseSqlComments
WrapResultSets
See Also
Environment Class
NHibernate.Cfg Namespace