FluentNHibernate
Used to set the Not-Found attribute to ignore. This tells NHibernate to
return a null object rather then throw an exception when the join fails
Used to set the Not-Found attribute to exception (Nhibernate default). This
tells NHibernate to throw an exception when the join fails
Join convention, implement this interface to alter join mappings.
Basic convention interface. Don't use directly.
Inspector instance for use in retrieving values and setting expectations
Apply instance
Ignore - this is used for generic restrictions only
Apply changes to the target
Default convention finder - doesn't do anything special.
Convention finder - used to search through assemblies for types that implement a specific convention interface.
Add an assembly to be queried.
All convention types must have a parameterless constructor, or a single parameter of .
Assembly instance to query
Adds all conventions found in the assembly that contains .
All convention types must have a parameterless constructor, or a single parameter of .
Add a single convention by type.
Type must have a parameterless constructor, or a single parameter of .
Convention type
Add a single convention by type.
Types must have a parameterless constructor, or a single parameter of .
Type of convention
Add an instance of a convention.
Useful for supplying conventions that require extra constructor parameters.
Convention type
Instance of convention
Find any conventions implementing T.
Convention interface type
IEnumerable of T
Find any conventions implementing T.
Convention interface type
IEnumerable of T
Add an assembly to be queried.
All convention types must have a parameterless constructor, or a single parameter of IConventionFinder.
Assembly instance to query
Adds all conventions found in the assembly that contains T.
All convention types must have a parameterless constructor, or a single parameter of IConventionFinder.
Add a single convention by type.
Type must have a parameterless constructor, or a single parameter of IConventionFinder.
Convention type
Add a single convention by type.
Types must have a parameterless constructor, or a single parameter of .
Type of convention
Add an instance of a convention.
Useful for supplying conventions that require extra constructor parameters.
Convention type
Instance of convention
Represents a string identifier for the model instance, used in conventions for a lazy
shortcut.
e.g. for a ColumnMapping the StringIdentifierForModel would be the Name attribute,
this allows the user to find any columns with the matching name.
Fluent configuration API for NHibernate
Apply database settings
Lambda returning database configuration
Fluent configuration
Apply database settings
Database configuration instance
Fluent configuration
Apply mappings to NHibernate
Lambda used to apply mappings
Fluent configuration
Allows altering of the raw NHibernate Configuration object before creation
Lambda used to alter Configuration
Fluent configuration
Verify's the configuration and instructs NHibernate to build a SessionFactory.
ISessionFactory from supplied settings.
Verifies the configuration and populates the NHibernate Configuration instance.
NHibernate Configuration instance
Creates an exception based on the current state of the configuration.
Inner exception
FluentConfigurationException with state
Sets the proxyfactory.factory_class property.
NOTE: NHibernate 2.1 only
factory class
Configuration
Sets the adonet.batch_size property.
Batch size
Configuration
Sets the current_session_context_class property.
current session context class
Configuration
Sets the current_session_context_class property.
Implementation of ICurrentSessionContext to use
Configuration
Initializes a new instance of the class using the
Oracle Data Provider (Oracle.DataAccess) library specifying the Oracle 9i dialect.
The Oracle.DataAccess library must be available to the calling application/library.
Initializes a new instance of the class using the
Oracle Data Provider (Oracle.DataAccess) library specifying the Oracle 10g dialect.
The Oracle.DataAccess library must be available to the calling application/library.
This allows for ANSI join syntax.
Container for automatic mappings
Add automatic mappings
Lambda returning an auto mapping setup
Auto mappings configuration
Add automatic mappings
Auto mapping setup
Auto mappings configuration
Sets the export location for generated mappings
Path to folder for mappings
Auto mappings configuration
Applies any added mappings to the NHibernate Configuration
NHibernate Configuration instance
Gets whether any mappings were added
Gets the requested value off the first column, as all columns are (currently) created equal
Reference convention, implement this interface to apply changes to Reference/many-to-one
relationships.
Represents a string identifier for the model instance, used in conventions for a lazy
shortcut.
e.g. for a ColumnMapping the StringIdentifierForModel would be the Name attribute,
this allows the user to find any columns with the matching name.
Whether this convention will be applied to the target.
Instace that could be supplied
Apply on this target?
Convention for dynamic components. Implement this member to apply changes
to dynamic components.
Maps a component
Type of component
Component property
Component mapping
Maps a component
Type of component
Component property
Component mapping
CreateProperties a one-to-many relationship
Child object type
Property return type
Expression to get property from
one-to-many part
CreateProperties a one-to-many relationship
Child object type
Expression to get property from
one-to-many part
CreateProperties a one-to-many relationship with a IDictionary
Dictionary key type
Child object type / Dictionary value type
Expression to get property from
one-to-many part
CreateProperties a one-to-many relationship
Child object type
Expression to get property from
one-to-many part
CreateProperties a many-to-many relationship
Child object type
Property return type
Expression to get property from
many-to-many part
CreateProperties a many-to-many relationship
Child object type
Expression to get property from
many-to-many part
CreateProperties a many-to-many relationship
Child object type
Expression to get property from
many-to-many part
Sets whether this subclass is lazy loaded
Specifies an entity-name.
See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx
Inverts the next boolean
Maps this collection as a collection of components.
Component mapping
Sets the table name for this one-to-many.
Table name
Sets the where clause for this one-to-many relationship.
Note: This only supports simple cases, use the string overload for more complex clauses.
Sets the where clause for this one-to-many relationship.
Sets a custom collection type
Sets a custom collection type
Sets a custom collection type
Sets a custom collection type
Applies a named filter to this one-to-many.
Applies a named filter to this one-to-many.
The condition to apply
The type of a implementation
defining the filter to apply.
Applies a named filter to this one-to-many.
The type of a implementation
defining the filter to apply.
Specify caching for this entity.
Set the access and naming strategy for this one-to-many.
Inverts the next boolean
Naming strategy prefix.
Property convention, implement this interface to apply changes to
property mappings.
A source for Type instances, used for locating types that should be
automapped.
Specifies an entity-name.
See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx
Inverts the next boolean
Joined subclass convention, implement this interface to alter joined-subclass mappings.
Initializes a new instance of the class using the
Oracle Data Provider (Oracle.DataAccess) library specifying the Oracle 9i dialect.
The Oracle.DataAccess library must be available to the calling application/library.
Initializes a new instance of the class using the
Oracle Data Provider (Oracle.DataAccess) library specifying the Oracle 10g dialect.
The Oracle.DataAccess library must be available to the calling application/library.
Sets additional tables for the class via the NH 2.0 Join element, this only works if
the hierarchy you're mapping has a discriminator.
Joined table name
Joined table mapping
supports identity columns in DB2, MySQL, MS SQL Server and Sybase.
The identifier returned by the database is converted to the property type using
Convert.ChangeType. Any integral property type is thus supported.
supports identity columns in DB2, MySQL, MS SQL Server and Sybase.
The identifier returned by the database is converted to the property type using
Convert.ChangeType. Any integral property type is thus supported.
Params configuration
uses a sequence in DB2, PostgreSQL, Oracle or a generator in Firebird.
The identifier returned by the database is converted to the property type
using Convert.ChangeType. Any integral property type is thus supported.
uses a sequence in DB2, PostgreSQL, Oracle or a generator in Firebird.
The identifier returned by the database is converted to the property type
using Convert.ChangeType. Any integral property type is thus supported.
Params configuration
uses a hi/lo algorithm to efficiently generate identifiers of any integral type,
given a table and column (by default hibernate_unique_key and next_hi respectively)
as a source of hi values. The hi/lo algorithm generates identifiers that are unique
only for a particular database. Do not use this generator with a user-supplied connection.
requires a "special" database table to hold the next available "hi" value
uses a hi/lo algorithm to efficiently generate identifiers of any integral type,
given a table and column (by default hibernate_unique_key and next_hi respectively)
as a source of hi values. The hi/lo algorithm generates identifiers that are unique
only for a particular database. Do not use this generator with a user-supplied connection.
requires a "special" database table to hold the next available "hi" value
Params configuration
uses a hi/lo algorithm to efficiently generate identifiers of any integral type,
given a table and column (by default hibernate_unique_key and next_hi respectively)
as a source of hi values. The hi/lo algorithm generates identifiers that are unique
only for a particular database. Do not use this generator with a user-supplied connection.
requires a "special" database table to hold the next available "hi" value
uses a hi/lo algorithm to efficiently generate identifiers of any integral type,
given a table and column (by default hibernate_unique_key and next_hi respectively)
as a source of hi values. The hi/lo algorithm generates identifiers that are unique
only for a particular database. Do not use this generator with a user-supplied connection.
requires a "special" database table to hold the next available "hi" value
Params configuration
uses an Oracle-style sequence (where supported)
uses an Oracle-style sequence (where supported)
Params configuration
uses System.Guid and its ToString(string format) method to generate identifiers
of type string. The length of the string returned depends on the configured format.
http://msdn.microsoft.com/en-us/library/97af8hh4.aspx
uses System.Guid and its ToString(string format) method to generate identifiers
of type string. The length of the string returned depends on the configured format.
http://msdn.microsoft.com/en-us/library/97af8hh4.aspx
Params configuration
uses a new System.Guid to create a byte[] that is converted to a string.
uses a new System.Guid to create a byte[] that is converted to a string.
Params configuration
uses a new System.Guid as the identifier.
Adds a column to the index if columns have not yet been specified
The column name to add
Reveals a hidden property for use instead of expressions.
Entity type
Name of property
Expression for the hidden property
Reveals a hidden property with a specific return type for use instead of expressions.
Entity type
Property return type
Name of property
Expression for the hidden property
Sets the unsaved-value of the identity.
Value that represents an unsaved value.
Sets the column name for the identity field.
Column name
Set the access and naming strategy for this identity.
Set the access and naming strategy for this component.
Set the access and naming strategy for this component.
Use no locking strategy
Use version locking
Use dirty locking
Use all locking
Version convention, implement this interface to apply changes to vesion mappings.
Represents the "Any" mapping in NHibernate. It is impossible to specify a foreign key constraint for this kind of association. For more information
please reference chapter 5.2.4 in the NHibernate online documentation
Defines how NHibernate will access the object for persisting/hydrating (Defaults to Property)
Cascade style (Defaults to none)
Container for Hbm mappings
Add explicit classes with Hbm mappings
List of types to map
Hbm mappings configuration
Add all Hbm mappings in the assembly that contains T.
Type from the assembly
Hbm mappings configuration
Add all Hbm mappings in the assembly
Assembly to add mappings from
Hbm mappings configuration
Applies any added mappings to the NHibernate Configuration
NHibernate Configuration instance
Gets whether any mappings were added
Specify alterations to be used with this AutoPersisteceModel
Lambda to declare alterations
AutoPersistenceModel
Use auto mapping overrides defined in the assembly of T.
Type to get assembly from
AutoPersistenceModel
Alter some of the configuration options that control how the automapper works
Adds all entities from a specific assembly.
Assembly to load from
Adds all entities from the .
to load from
Override the mapping of a specific entity.
This may affect subclasses, depending on the alterations you do.
Entity who's mapping to override
Lambda performing alterations
Override all mappings.
Currently only supports ignoring properties on all entities.
Lambda performing alterations
Ignore a base type. This removes it from any mapped inheritance hierarchies, good for non-abstract layer
supertypes.
Type to ignore
Ignore a base type. This removes it from any mapped inheritance hierarchies, good for non-abstract layer
supertypes.
Type to ignore
Explicitly includes a type to be used as part of a mapped inheritance hierarchy.
Abstract classes are probably what you'll be using this method with. Fluent NHibernate considers abstract
classes to be layer supertypes, so doesn't automatically map them as part of an inheritance hierarchy. You
can use this method to override that behavior for a specific type; otherwise you should consider using the
setting.
Type to include
Explicitly includes a type to be used as part of a mapped inheritance hierarchy.
Abstract classes are probably what you'll be using this method with. Fluent NHibernate considers abstract
classes to be layer supertypes, so doesn't automatically map them as part of an inheritance hierarchy. You
can use this method to override that behavior for a specific type; otherwise you should consider using the
setting.
Type to include
Alter convention discovery
Sets the hibernate-mapping schema for this class.
Schema name
Sets the table for the class.
Table name
Sets this entity to be lazy-loaded (overrides the default lazy load configuration).
Sets additional tables for the class via the NH 2.0 Join element.
Joined table name
Joined table mapping
Imports an existing type for use in the mapping.
Type to import.
Set the mutability of this class, sets the mutable attribute.
Sets this entity to be dynamic update
Sets this entity to be dynamic insert
Defines a SQL 'where' clause used when retrieving objects of this type.
Sets the SQL statement used in subselect fetching.
Subselect SQL Query
Specifies an entity-name.
See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx
Applies a named filter to this one-to-many.
Applies a named filter to this one-to-many.
The condition to apply
The type of a implementation
defining the filter to apply.
Applies a named filter to this one-to-many.
The type of a implementation
defining the filter to apply.
Specify caching for this entity.
Inverse next boolean
Sets the optimistic locking strategy
Access strategy mapping builder.
Mapping part to be applied to
Access strategy mapping builder.
Access strategy mapping builder.
Sets the access-strategy to property.
Sets the access-strategy to field.
Sets the access-strategy to use the backing-field of an auto-property.
Sets the access-strategy to field and the naming-strategy to camelcase (field.camelcase).
Sets the access-strategy to field and the naming-strategy to camelcase, with the specified prefix.
Naming-strategy prefix
Sets the access-strategy to field and the naming-strategy to lowercase.
Sets the access-strategy to field and the naming-strategy to lowercase, with the specified prefix.
Naming-strategy prefix
Sets the access-strategy to field and the naming-strategy to pascalcase, with the specified prefix.
Naming-strategy prefix
Sets the access-strategy to read-only property (nosetter) and the naming-strategy to camelcase.
Sets the access-strategy to read-only property (nosetter) and the naming-strategy to camelcase, with the specified prefix.
Naming-strategy prefix
Sets the access-strategy to read-only property (nosetter) and the naming-strategy to lowercase.
Sets the access-strategy to read-only property (nosetter) and the naming-strategy to lowercase.
Naming-strategy prefix
Sets the access-strategy to read-only property (nosetter) and the naming-strategy to pascalcase, with the specified prefix.
Naming-strategy prefix
Sets the access-strategy to use the type referenced.
Assembly qualified name of the type to use as the access-strategy
Sets the access-strategy to use the type referenced.
Type to use as the access-strategy
Sets the access-strategy to use the type referenced.
Type to use as the access-strategy
Access strategy mapping builder.
Instance of the parent mapping part.
Setter for altering the model
Sets the access-strategy to property.
Sets the access-strategy to field.
Sets the access-strategy to use the backing-field of an auto-property.
Sets the access-strategy to field and the naming-strategy to camelcase (field.camelcase).
Sets the access-strategy to field and the naming-strategy to camelcase, with the specified prefix.
Naming-strategy prefix
Sets the access-strategy to field and the naming-strategy to lowercase.
Sets the access-strategy to field and the naming-strategy to lowercase, with the specified prefix.
Naming-strategy prefix
Sets the access-strategy to field and the naming-strategy to pascalcase, with the specified prefix.
Naming-strategy prefix
Sets the access-strategy to read-only property (nosetter) and the naming-strategy to camelcase.
Sets the access-strategy to read-only property (nosetter) and the naming-strategy to camelcase, with the specified prefix.
Naming-strategy prefix
Sets the access-strategy to read-only property (nosetter) and the naming-strategy to lowercase.
Sets the access-strategy to read-only property (nosetter) and the naming-strategy to lowercase.
Naming-strategy prefix
Sets the access-strategy to read-only property (nosetter) and the naming-strategy to pascalcase, with the specified prefix.
Naming-strategy prefix
Sets the access-strategy to use the type referenced.
Assembly qualified name of the type to use as the access-strategy
Sets the access-strategy to use the type referenced.
Type to use as the access-strategy
Sets the access-strategy to use the type referenced.
Type to use as the access-strategy
Indicates whether the current is equal to another .
true if the current object is equal to the parameter; otherwise, false.
An Entity to compare with this object.
Determines whether the specified is equal to the current .
true if the specified is equal to the current ; otherwise, false.
The to compare with the current .
The parameter is null.2
Serves as a hash function for a Entity.
A hash code for the current .
2
Fluently configure NHibernate
Begin fluently configuring NHibernate
Fluent Configuration
Begin fluently configuring NHibernate
Instance of an NHibernate Configuration
Fluent Configuration
Base convention for specifying your own many-to-many table naming style. Implement
the abstract members defined by this class to control how your join tables are named
for uni and bi-directional many-to-many's.
Gets the name used for bi-directional many-to-many tables. Implement this member to control how
your join table is named for bi-directional relationships.
This method will be called once per bi-directional relationship; once one side of the relationship
has been saved, then the other side will assume that name aswell.
Main collection
Inverse collection
Many-to-many table name
Gets the name used for uni-directional many-to-many tables. Implement this member to control how
your join table is named for uni-directional relationships.
Main collection
Many-to-many table name
Specifies the name of a multi-column unique constraint.
Name of constraint
Inverts the next boolean
Force NHibernate to always select using the discriminator value, even when selecting all subclasses. This
can be useful when your table contains more discriminator values than you have classes (legacy).
Sets the "force" attribute.
Set this discriminator as read-only. Call this if your discriminator column is also part of a mapped composite identifier.
Sets the "insert" attribute.
An arbitrary SQL expression that is executed when a type has to be evaluated. Allows content-based discrimination.
SQL expression
Inverts the next boolean
Defines how NHibernate will access the object for persisting/hydrating (Defaults to Property)
Base class for attribute based conventions. Create a subclass of this to supply your own
attribute based conventions.
Attribute identifier
Apply changes to a property with an attribute matching T.
Instance of attribute found on property.
Property with attribute
Defines a property to be used as a key for this composite-id.
A member access lambda expression for the property
The composite identity part fluent interface
Defines a property to be used as a key for this composite-id with an explicit column name.
A member access lambda expression for the property
The column name in the database to use for this key, or null to use the property name
The composite identity part fluent interface
Defines a property to be used as a key for this composite-id with an explicit column name.
A member access lambda expression for the property
Additional settings for the key property
The composite identity part fluent interface
Defines a reference to be used as a many-to-one key for this composite-id with an explicit column name.
A member access lambda expression for the property
The composite identity part fluent interface
Defines a reference to be used as a many-to-one key for this composite-id with an explicit column name.
A member access lambda expression for the property
The column name in the database to use for this key, or null to use the property name
The composite identity part fluent interface
Defines a reference to be used as a many-to-one key for this composite-id with an explicit column name.
A member access lambda expression for the property
The column name in the database to use for this key, or null to use the property name
A lambda expression specifying additional settings for the key reference
The composite identity part fluent interface
Set the access and naming strategy for this identity.
Determines whether a property is the identity of an entity.
Determines whether an abstract class is a layer supertype or part of a mapped inheritance hierarchy.
This method is used to set a different key column in this table to be used for joins.
The output is set as the property-ref attribute in the "key" subelement of the collection
The name of the column in this table which is linked to the foreign key
OneToManyPart
Sets the order-by clause for this one-to-many relationship.
Maps to the Join element in NH 2.0
Thrown when a prefix is specified for an access-strategy that isn't supported.
Convention for a single class mapping. Implement this interface to apply
changes to class mappings.
Initializes a new instance of the class using the
MS Oracle Client (System.Data.OracleClient) library specifying the Oracle 9i dialect.
Initializes a new instance of the class using the
MS Oracle Client (System.Data.OracleClient) library specifying the Oracle 10g dialect.
This allows for ANSI join syntax.
Inverts the next boolean
Convention for identities, implement this interface to apply changes to
identity mappings.
Convention for the hibernate-mapping container for a class, this can be used to
set some class-wide settings such as lazy-load and access strategies.
Creates an instance of an IAutoMappingAlteration from a type instance, then adds it to the alterations collection.
Type of an IAutoMappingAlteration
Creates an instance of an IAutoMappingAlteration from a generic type parameter, then adds it to the alterations collection.
Type of an IAutoMappingAlteration
Container
Adds an alteration
Alteration to add
Container
Adds all alterations from an assembly
Assembly to search
Container
Adds all alterations from an assembly that contains T.
Type who's assembly to search
Container
Apply alterations to an AutoPersisteceModel
AutoPersistenceModel instance to apply alterations to
Flags a type as already mapped, stop it from being auto-mapped.
Checks a list of components for validity.
Type of list element
Property
Value to save
Set the access and naming strategy for this component.
Convention for a component mapping. Implement this interface to
apply changes to components.
Takes a type that represents the level in the class/subclass-hiearchy that we're starting from, the parent,
this can be a class or subclass; also takes a list of subclass providers. The providers are then iterated
and added to a dictionary key'd by the types "distance" from the parentType; distance being the number of levels
between parentType and the subclass-type.
By default if the Parent type is an interface the level will always be zero. At this time there is no check for
hierarchical interface inheritance.
Starting point, parent type.
List of subclasses
Dictionary key'd by the distance from the parentType.
The evalType starts out as the original subclass. The class hiearchy is only
walked if the subclass inherits from a class that is included in the subclassProviders.
The evalType is always one class higher in the hiearchy starting from the original subclass. The class
hiearchy is walked until the IsTopLevel (base class is Object) is met. The level is only incremented if
the subclass inherits from a class that is also in the subclassProviders.
generates identifiers of any integral type that are unique only when no other
process is inserting data into the same table. Do not use in a cluster.
generates identifiers of any integral type that are unique only when no other
process is inserting data into the same table. Do not use in a cluster.
Params configuration
supports identity columns in DB2, MySQL, MS SQL Server and Sybase.
The identifier returned by the database is converted to the property type using
Convert.ChangeType. Any integral property type is thus supported.
supports identity columns in DB2, MySQL, MS SQL Server and Sybase.
The identifier returned by the database is converted to the property type using
Convert.ChangeType. Any integral property type is thus supported.
Params configuration
uses a sequence in DB2, PostgreSQL, Oracle or a generator in Firebird.
The identifier returned by the database is converted to the property type
using Convert.ChangeType. Any integral property type is thus supported.
uses a sequence in DB2, PostgreSQL, Oracle or a generator in Firebird.
The identifier returned by the database is converted to the property type
using Convert.ChangeType. Any integral property type is thus supported.
Params configuration
uses a hi/lo algorithm to efficiently generate identifiers of any integral type,
given a table and column (by default hibernate_unique_key and next_hi respectively)
as a source of hi values. The hi/lo algorithm generates identifiers that are unique
only for a particular database. Do not use this generator with a user-supplied connection.
requires a "special" database table to hold the next available "hi" value
uses a hi/lo algorithm to efficiently generate identifiers of any integral type,
given a table and column (by default hibernate_unique_key and next_hi respectively)
as a source of hi values. The hi/lo algorithm generates identifiers that are unique
only for a particular database. Do not use this generator with a user-supplied connection.
requires a "special" database table to hold the next available "hi" value
Params configuration
uses a hi/lo algorithm to efficiently generate identifiers of any integral type,
given a table and column (by default hibernate_unique_key and next_hi respectively)
as a source of hi values. The hi/lo algorithm generates identifiers that are unique
only for a particular database. Do not use this generator with a user-supplied connection.
requires a "special" database table to hold the next available "hi" value
uses a hi/lo algorithm to efficiently generate identifiers of any integral type,
given a table and column (by default hibernate_unique_key and next_hi respectively)
as a source of hi values. The hi/lo algorithm generates identifiers that are unique
only for a particular database. Do not use this generator with a user-supplied connection.
requires a "special" database table to hold the next available "hi" value
Params configuration
uses an Oracle-style sequence (where supported)
uses an Oracle-style sequence (where supported)
Params configuration
uses System.Guid and its ToString(string format) method to generate identifiers
of type string. The length of the string returned depends on the configured format.
http://msdn.microsoft.com/en-us/library/97af8hh4.aspx
uses System.Guid and its ToString(string format) method to generate identifiers
of type string. The length of the string returned depends on the configured format.
http://msdn.microsoft.com/en-us/library/97af8hh4.aspx
Params configuration
uses a new System.Guid to create a byte[] that is converted to a string.
uses a new System.Guid to create a byte[] that is converted to a string.
Params configuration
uses a new System.Guid as the identifier.
uses a new System.Guid as the identifier.
Params configuration
Recommended for Guid identifiers!
uses the algorithm to generate a new System.Guid described by Jimmy Nilsson
in the article http://www.informit.com/articles/article.asp?p=25862.
Recommended for Guid identifiers!
uses the algorithm to generate a new System.Guid described by Jimmy Nilsson
in the article http://www.informit.com/articles/article.asp?p=25862.
Params configuration
lets the application to assign an identifier to the object before Save() is called.
lets the application to assign an identifier to the object before Save() is called.
Params configuration
picks identity, sequence or hilo depending upon the capabilities of the underlying database.
picks identity, sequence or hilo depending upon the capabilities of the underlying database.
Params configuration
picks identity, sequence or hilo depending upon the capabilities of the underlying database.
picks identity, sequence or hilo depending upon the capabilities of the underlying database.
uses the identifier of another associated object. Usually used in conjunction with a one-to-one primary key association.
uses the identifier of another associated object. Usually used in conjunction with a one-to-one primary key association.
Params configuration
Subclass convention, implement this interface to alter subclass mappings.
Built-in alteration for altering an AutoPersistenceModel with instance of IAutoMappingOverride<T>.
Provides a mechanism for altering an AutoPersistenceModel prior to
the generation of mappings.
Alter the model
AutoPersistenceModel instance to alter
Constructor for AutoMappingOverrideAlteration.
Assembly to load overrides from.
Alter the model
Finds all types in the assembly (passed in the constructor) that implement IAutoMappingOverride<T>, then
creates an AutoMapping<T> and applies the override to it.
AutoPersistenceModel instance to alter
Component-element for component HasMany's.
Component type
Maps a property of the component class as a reference back to the containing entity
Parent reference property
Component being mapped
Converts an expression to a best guess SQL string
Converts a Func expression to a best guess SQL string
Converts a boolean Func expression to a best guess SQL string
Gets the value of a method call.
Method call expression
Container for fluent mappings
Add all fluent mappings in the assembly that contains T.
Type from the assembly
Fluent mappings configuration
Add all fluent mappings in the assembly
Assembly to add mappings from
Fluent mappings configuration
Adds a single represented by the specified type.
Fluent mappings configuration
Adds a single represented by the specified type.
The type.
Fluent mappings configuration
Sets the export location for generated mappings
Path to folder for mappings
Fluent mappings configuration
Applies any added mappings to the NHibernate Configuration
NHibernate Configuration instance
Alter convention discovery
Gets whether any mappings were added
Maps to the Filter element in NH 2.0
generates identifiers of any integral type that are unique only when no other
process is inserting data into the same table. Do not use in a cluster.
generates identifiers of any integral type that are unique only when no other
process is inserting data into the same table. Do not use in a cluster.
Params configuration
supports identity columns in DB2, MySQL, MS SQL Server and Sybase.
The identifier returned by the database is converted to the property type using
Convert.ChangeType. Any integral property type is thus supported.
supports identity columns in DB2, MySQL, MS SQL Server and Sybase.
The identifier returned by the database is converted to the property type using
Convert.ChangeType. Any integral property type is thus supported.
Params configuration
uses a sequence in DB2, PostgreSQL, Oracle or a generator in Firebird.
The identifier returned by the database is converted to the property type
using Convert.ChangeType. Any integral property type is thus supported.
uses a sequence in DB2, PostgreSQL, Oracle or a generator in Firebird.
The identifier returned by the database is converted to the property type
using Convert.ChangeType. Any integral property type is thus supported.
Params configuration
uses a hi/lo algorithm to efficiently generate identifiers of any integral type,
given a table and column (by default hibernate_unique_key and next_hi respectively)
as a source of hi values. The hi/lo algorithm generates identifiers that are unique
only for a particular database. Do not use this generator with a user-supplied connection.
requires a "special" database table to hold the next available "hi" value
uses a hi/lo algorithm to efficiently generate identifiers of any integral type,
given a table and column (by default hibernate_unique_key and next_hi respectively)
as a source of hi values. The hi/lo algorithm generates identifiers that are unique
only for a particular database. Do not use this generator with a user-supplied connection.
requires a "special" database table to hold the next available "hi" value
Params configuration
uses a hi/lo algorithm to efficiently generate identifiers of any integral type,
given a table and column (by default hibernate_unique_key and next_hi respectively)
as a source of hi values. The hi/lo algorithm generates identifiers that are unique
only for a particular database. Do not use this generator with a user-supplied connection.
requires a "special" database table to hold the next available "hi" value
uses a hi/lo algorithm to efficiently generate identifiers of any integral type,
given a table and column (by default hibernate_unique_key and next_hi respectively)
as a source of hi values. The hi/lo algorithm generates identifiers that are unique
only for a particular database. Do not use this generator with a user-supplied connection.
requires a "special" database table to hold the next available "hi" value
Params configuration
uses an Oracle-style sequence (where supported)
uses an Oracle-style sequence (where supported)
Params configuration
uses System.Guid and its ToString(string format) method to generate identifiers
of type string. The length of the string returned depends on the configured format.
http://msdn.microsoft.com/en-us/library/97af8hh4.aspx
uses System.Guid and its ToString(string format) method to generate identifiers
of type string. The length of the string returned depends on the configured format.
http://msdn.microsoft.com/en-us/library/97af8hh4.aspx
Params configuration
uses a new System.Guid to create a byte[] that is converted to a string.
uses a new System.Guid to create a byte[] that is converted to a string.
Params configuration
uses a new System.Guid as the identifier.
uses a new System.Guid as the identifier.
Params configuration
Recommended for Guid identifiers!
uses the algorithm to generate a new System.Guid described by Jimmy Nilsson
in the article http://www.informit.com/articles/article.asp?p=25862.
Recommended for Guid identifiers!
uses the algorithm to generate a new System.Guid described by Jimmy Nilsson
in the article http://www.informit.com/articles/article.asp?p=25862.
Params configuration
lets the application to assign an identifier to the object before Save() is called.
lets the application to assign an identifier to the object before Save() is called.
Params configuration
picks identity, sequence or hilo depending upon the capabilities of the underlying database.
picks identity, sequence or hilo depending upon the capabilities of the underlying database.
Params configuration
picks identity, sequence or hilo depending upon the capabilities of the underlying database.
picks identity, sequence or hilo depending upon the capabilities of the underlying database.
uses the identifier of another associated object. Usually used in conjunction with a one-to-one primary key association.
uses the identifier of another associated object. Usually used in conjunction with a one-to-one primary key association.
Params configuration
Checks whether a collection contains an inspector identified by the string value.
Checks whether a collection contains an inspector identified by a predicate.
Base class for user type conventions. Create a subclass of this to automatically
map all properties that the user type can be used against. Override Accept or
Apply to alter the behavior.
IUserType implementation
A mapping override for an auto mapped entity.
Entity who's auto-mapping you're overriding
Alter the automapping for this type
Automapping
Specifies that a custom type (an implementation of ) should be used for this property for mapping it to/from one or more database columns whose format or type doesn't match this .NET property.
A type which implements .
This property mapping to continue the method chain
Specifies that a custom type (an implementation of ) should be used for this property for mapping it to/from one or more database columns whose format or type doesn't match this .NET property.
A type which implements .
This property mapping to continue the method chain
Specifies that a custom type (an implementation of ) should be used for this property for mapping it to/from one or more database columns whose format or type doesn't match this .NET property.
A type which implements .
This property mapping to continue the method chain
Specifies the name of a multi-column unique constraint.
Name of constraint
Set the access and naming strategy for this property.
Inverts the next boolean
HasOne convention, used for applying changes to one-to-one relationships.
The type of authentication to be used. Acceptable values:
-
SERVER
-
SERVER_ENCRYPT
-
DATA_ENCRYPT
-
KERBEROS
-
GSSPLUGIN
IfxDRDAConnectionStringBuilder object
The name of the database within the server instance.
IfxSQLIConnectionStringBuilder object
-
true
- host variable (:param) support enabled.
-
false (default)
- host variable support disabled.
IfxSQLIConnectionStringBuilder object
Isolation level for the connection. Possible values:
-
ReadCommitted
-
ReadUncommitted
-
RepeatableRead
-
Serializable
-
Transaction
This keyword is only supported for applications participating in a
distributed transaction.
IfxDRDAConnectionStringBuilder object
The maximum number of connections allowed in the pool.
IfxDRDAConnectionStringBuilder object
The minimum number of connections allowed in the pool. Default value 0.
IfxDRDAConnectionStringBuilder object
The password associated with the User ID.
IfxDRDAConnectionStringBuilder object
When set to true, the IfxConnection object is drawn from
the appropriate pool, or if necessary, it is created and added
to the appropriate pool. Default value 'true'.
IfxDRDAConnectionStringBuilder object
Server name with optional port number for direct connection using either
IPv4 notation ([:]]]>) or IPv6 notation.
IfxDRDAConnectionStringBuilder object
The login account.
IfxDRDAConnectionStringBuilder object
Other options: Connection Lifetime, Connection Reset, Connection Timeout, CurrentSchema, Enlist,
Interrupt, Persist Security Info, ResultArrayAsReturnValue, Security, TrustedContextSystemUserID,
TrustedContextSystemPassword
IfxDRDAConnectionStringBuilder object
Returns whether the user has set a value for a property.
Returns whether the user has set a value for a property.
Returns whether a property has any value, default or user specified.
Sets the order-by clause for this one-to-many relationship.
Base class for attribute based conventions. Create a subclass of this to supply your own
attribute based conventions.
Attribute identifier
Apply changes to a property with an attribute matching T.
Instance of attribute found on property.
Property with attribute
Fluent mapping configuration
Applies any mappings to the NHibernate Configuration
NHibernate Configuration instance
Fluent mappings
Automatic mapping configurations
Hbm mappings
Get whether any mappings of any kind were added
Client locale, default value is en_us.CP1252 (Windows)
IfxSQLIConnectionStringBuilder object
The name of the database within the server instance.
IfxSQLIConnectionStringBuilder object
The language locale of the database. Default value is en_US.8859-1
IfxSQLIConnectionStringBuilder object
When set to true or y for yes, any string within double
quotes (") is treated as an identifier, and any string within
single quotes (') is treated as a string literal. Default value 'y'.
IfxSQLIConnectionStringBuilder object
The name or IP address of the machine on which the
Informix server is running. Required.
IfxSQLIConnectionStringBuilder object
The maximum number of connections allowed in the pool. Default value 100.
IfxSQLIConnectionStringBuilder object
The minimum number of connections allowed in the pool. Default value 0.
IfxSQLIConnectionStringBuilder object
The password associated with the User ID. Required if the
client machine or user account is not trusted by the host.
Prohibited if a User ID is not given.
IfxSQLIConnectionStringBuilder object
When set to true, the IfxConnection object is drawn from
the appropriate pool, or if necessary, it is created and added
to the appropriate pool. Default value 'true'.
IfxSQLIConnectionStringBuilder object
The name or alias of the instance of the Informix server to
which to connect. Required.
IfxSQLIConnectionStringBuilder object
The service name or port number through which the server
is listening for connection requests.
IfxSQLIConnectionStringBuilder object
The login account. Required, unless the client machine is
trusted by the host machine.
IfxSQLIConnectionStringBuilder object
Other options like: Connection Lifetime, Enlist, Exclusive, Optimize OpenFetchClose,
Fetch Buffer Size, Persist Security Info, Protocol, Single Threaded, Skip Parsing
IfxSQLIConnectionStringBuilder object
Specifies the server to connect. This can be either the DNS name of the
server or the IP (as a string).
The server.
Specifies the instance (database name) to use. This can be the short name or the
fully qualified name (Oracle service name).
The instance.
Specifies the name of the user account accessing the database.
The username.
Specifies the password of the user account accessing the database.
The password.
Optional. Ports the specified port the oracle database is running on. This defaults to 1521.
The port.
Enable or disable pooling connections for this data configuration.
if set to true enable pooling.
Specifies the SQL statement cache size to use for this connection.
Size of the cache.
Specifies, as a string, other Oracle options to pass to the connection.
The other options.
Adds a column to the index if columns have not yet been specified
The column name to add