Invokes the specified delegate passing a valid
NHibernate session. Used for custom NHibernate queries.
Namespace: Castle.ActiveRecord
Assembly: Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0
Syntax
| C# |
|---|
protected internal static Object Execute( Type targetType, NHibernateDelegate call, Object instance ) |
Parameters
- targetType
- Type
The target ActiveRecordType
- call
- NHibernateDelegate
The delegate instance
- instance
- Object
The ActiveRecord instance
Return Value
Whatever is returned by the delegate invocation
See Also
ActiveRecordBase Class
Castle.ActiveRecord Namespace