The IdentityGenerator for autoincrement/identity key generation.
Namespace: NHibernate.IdAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public Object Generate( ISessionImplementor s, Object obj ) |
Visual Basic |
---|
Public Function Generate ( _ s As ISessionImplementor, _ obj As Object _ ) As Object |
Visual C++ |
---|
public: virtual Object^ Generate( ISessionImplementor^ s, Object^ obj ) sealed |
Parameters
- s
- Type: NHibernate.Engine..::..ISessionImplementor
The ISessionImplementor this id is being generated in.
- obj
- Type: System..::..Object
The entity the id is being generated for.