Namespaces

Types in FluentNHibernate.MappingModel.Collections

Type Lazy

Namespace FluentNHibernate.MappingModel.Collections

Parent Enum

Determines the lazy-loading strategy for a collection mapping.

Fields

Public fields

int value__

return int

Lazy False

Collection will be eager loaded (lazy=false).
return Lazy

Lazy True

Collection will lazy loaded (lazy=true).
return Lazy

Lazy Extra

collection will be extra lazy loaded (lazy=extra).
"Extra" lazy collections are mostly similar to lazy=true, except certain operations on the collection will not load the whol collection but issue a smarter SQL statement. For example, invoking Count on an extra-lazy collection will issue a "SELECT COUNT(*)..." rather than selecting and loading the whole collection of entities.
return Lazy