コード例 #1
0
 internal void OnPreUnsafeMListDelete(IQueryable mlistQuery, IQueryable <T> entityQuery)
 {
     if (PreUnsafeMListDelete != null)
     {
         foreach (var action in PreUnsafeMListDelete.GetInvocationListTyped().Reverse())
         {
             action(mlistQuery, entityQuery);
         }
     }
 }
コード例 #2
0
        internal IDisposable OnPreUnsafeMListDelete(IQueryable mlistQuery, IQueryable <T> entityQuery)
        {
            IDisposable result = null;

            if (PreUnsafeMListDelete != null)
            {
                foreach (var action in PreUnsafeMListDelete.GetInvocationListTyped().Reverse())
                {
                    result = Disposable.Combine(result, action(mlistQuery, entityQuery));
                }
            }

            return(result);
        }