internal void OnPreUnsafeMListDelete(IQueryable mlistQuery, IQueryable <T> entityQuery) { if (PreUnsafeMListDelete != null) { foreach (var action in PreUnsafeMListDelete.GetInvocationListTyped().Reverse()) { action(mlistQuery, entityQuery); } } }
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); }