/// <summary> /// Invoke on Scope. Transaction will not be used, unless IAdapterService has Before or After actions to perform. /// </summary> protected void InvokeOnScope(string message, Action <DataScope <TSession, TMetaData> > toPerform) { var requiresTransaction = _AdapterService.Calc_HasActions(); if (requiresTransaction) { InvokeWithTransactionOnScope("auto", toPerform); } else { InvokeOnScopeWithoutTransaction(message, toPerform); } }