Attempts to check whether the given key represents an entity already loaded within the
current session.
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
void CheckUniqueness( EntityKey key, Object obj ) |
| Visual Basic |
|---|
Sub CheckUniqueness ( _ key As EntityKey, _ obj As Object _ ) |
| Visual C++ |
|---|
void CheckUniqueness( EntityKey^ key, Object^ obj ) |
Parameters
- key
- Type: NHibernate.Engine..::..EntityKey
The entity key.
- obj
- Type: System..::..Object
The entity reference against which to perform the uniqueness check.