Namespaces

Types

Type ForeignGenerator

Namespace NHibernate.Id

Interfaces IIdentifierGenerator, IConfigurable

Methods

Public instance methods

void Configure(IType type, IDictionary parms, Dialect d)

Configures the ForeignGenerator by reading the value of property from the parms parameter.
Parameters
IType type The IType the identifier should be.
IDictionary parms An IDictionary of Param values that are keyed by parameter name.
Dialect d The Dialect to help with Configuration.

bool Equals(object obj)

Parameters
return bool
object obj

object Generate(ISessionImplementor session, object obj)

Generates an identifer from the value of a Property.
Parameters
return object The identifier value from the associated object or ShortCircuitIndicator if the session already contains obj .
ISessionImplementor session The ISessionImplementor this id is being generated in.
object obj The entity for which the id is being generated.

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

string ToString()

Parameters
return string