Associates the specified entity with the specified copy in this EventCache;

Namespace: NHibernate.Event.Default
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public void Add(
	Object entity,
	Object copy,
	bool isOperatedOn
)
Visual Basic
Public Sub Add ( _
	entity As Object, _
	copy As Object, _
	isOperatedOn As Boolean _
)
Visual C++
public:
void Add(
	Object^ entity, 
	Object^ copy, 
	bool isOperatedOn
)

Parameters

entity
Type: System..::..Object

[Missing <param name="entity"/> documentation for "M:NHibernate.Event.Default.EventCache.Add(System.Object,System.Object,System.Boolean)"]

copy
Type: System..::..Object

[Missing <param name="copy"/> documentation for "M:NHibernate.Event.Default.EventCache.Add(System.Object,System.Object,System.Boolean)"]

isOperatedOn
Type: System..::..Boolean
indicates if the operation is performed on the entity

See Also