Example #1
0
 public virtual void ExecuteNonQueryCommandTypeStoredProcedure()
 {
     try
     {
         DataAccessObject.ExecuteNonQuery(Command, Parameters.ToArray(), CommandType.StoredProcedure);
     }
     catch (Exception e)
     {
         Logger.Error(e);
         throw e;
     }
 }
Example #2
0
 public virtual void ExecuteNonQueryCommandTypeText()
 {
     try
     {
         DataAccessObject.ExecuteNonQuery(Command, Parameters.ToArray(), CommandType.Text);
     }
     catch (Exception e)
     {
         Logger.Error(string.Format("Entity :: ExecuteNonQueryCommandTypeText ERROR {0}", e.Message));
         throw e;
     }
 }