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# |
---|
public void CheckUniqueness( EntityKey key, Object obj ) |
Visual Basic |
---|
Public Sub CheckUniqueness ( _ key As EntityKey, _ obj As Object _ ) |
Visual C++ |
---|
public: virtual void CheckUniqueness( EntityKey^ key, Object^ obj ) sealed |
Parameters
- key
- Type: NHibernate.Engine..::..EntityKey
The entity key.
- obj
- Type: System..::..Object
The entity reference against which to perform the uniqueness check.