Determines whether the specified entity is an instance of the class
managed by this persister.
Namespace: NHibernate.Persister.EntityAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public bool IsInstance( Object entity, EntityMode entityMode ) |
| Visual Basic |
|---|
Public Function IsInstance ( _ entity As Object, _ entityMode As EntityMode _ ) As Boolean |
| Visual C++ |
|---|
public: virtual bool IsInstance( Object^ entity, EntityMode entityMode ) sealed |
Parameters
- entity
- Type: System..::..Object
The entity.
- entityMode
- Type: NHibernate..::..EntityMode
The entity mode.