Try to discover the entity mode from the entity instance

Namespace: NHibernate.Persister.Entity
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
Nullable<EntityMode> GuessEntityMode(
	Object obj
)
Visual Basic
Function GuessEntityMode ( _
	obj As Object _
) As Nullable(Of EntityMode)
Visual C++
Nullable<EntityMode> GuessEntityMode(
	Object^ obj
)

Parameters

obj
Type: System..::..Object

[Missing <param name="obj"/> documentation for "M:NHibernate.Persister.Entity.IEntityPersister.GuessEntityMode(System.Object)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Persister.Entity.IEntityPersister.GuessEntityMode(System.Object)"]

See Also