Castle.ActiveRecord.ActiveRecordBase.Execute C# (CSharp) Метод

Execute() защищенный Метод

Invokes the specified delegate passing a valid NHibernate session. Used for custom NHibernate queries.
protected Execute ( NHibernateDelegate call ) : object
call NHibernateDelegate The delegate instance
Результат object
		protected virtual internal object Execute(NHibernateDelegate call)
		{
			return Execute(GetType(), call, this);
		}

Same methods

ActiveRecordBase::Execute ( Type targetType, NHibernateDelegate call, object instance ) : object

Usage Example

Пример #1
0
 /// <summary>
 /// Invokes the specified delegate passing a valid
 /// NHibernate session. Used for custom NHibernate queries.
 /// </summary>
 /// <param name="targetType">The target ActiveRecordType</param>
 /// <param name="call">The delegate instance</param>
 /// <param name="instance">The ActiveRecord instance</param>
 /// <returns>Whatever is returned by the delegate invocation</returns>
 public static object Execute(Type targetType, NHibernateDelegate call, object instance)
 {
     return(ActiveRecordBase.Execute(targetType, call, instance));
 }
All Usage Examples Of Castle.ActiveRecord.ActiveRecordBase::Execute