Configures the ForeignGenerator by reading the value of property
from the parms parameter.
Namespace:
NHibernate.IdAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub Configure ( _ type As IType, _ parms As IDictionary, _ d As Dialect _ ) |
C# |
---|
public void Configure( IType type, IDictionary parms, Dialect d ) |
Visual C++ |
---|
public: virtual void Configure( IType^ type, IDictionary^ parms, Dialect^ d ) sealed |
JavaScript |
---|
function configure(type, parms, d); |
Parameters
- type
- Type: NHibernate.Type..::.IType
The IType the identifier should be.
- parms
- Type: System.Collections..::.IDictionary
An IDictionary of Param values that are keyed by parameter name.
- d
- Type: NHibernate.Dialect..::.Dialect
The Dialect to help with Configuration.
Implements
IConfigurable..::.Configure(IType, IDictionary, Dialect)
Exceptions
Exception | Condition |
---|---|
NHibernate..::.MappingException | Thrown if the key property is not found in the parms parameter. |