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