Joutsen Persistence v0.3.0+1-ga730d6d
Public Member Functions | Properties | List of all members
Joutsen.Persistence.EntityState Interface Reference

A representation of the persistence state of an entity including changes. More...

Public Member Functions

EntityType GetEntity< EntityType > ()
 Fetches the entity as a specific type. More...
 

Properties

object Entity [get]
 The entity containing any changes. More...
 

Detailed Description

A representation of the persistence state of an entity including changes.

Since
0.3.0

Member Function Documentation

◆ GetEntity< EntityType >()

EntityType Joutsen.Persistence.EntityState.GetEntity< EntityType > ( )

Fetches the entity as a specific type.

Exceptions
InvalidCastExceptionif the entity cannot be cast to the specified type

Implemented in Joutsen.Persistence.NHibernate.NHibernateState.

Property Documentation

◆ Entity

object Joutsen.Persistence.EntityState.Entity
get

The entity containing any changes.

Implemented in Joutsen.Persistence.NHibernate.NHibernateState.