Example #1
0
        protected static CommandExecutingEventArgs OnCommandExecuting(CommandExecutingEventArgs e)
        {
            var eh = Database.CommandExecuting;

            if (eh != null)
            {
                eh(null, e);
            }
            return(e);
        }
Example #2
0
 protected static CommandExecutingEventArgs OnCommandExecuting(CommandExecutingEventArgs e)
 {
     var eh = Database.CommandExecuting;
     if (eh != null)
     {
         eh(null, e);
     }
     return e;
 }