public object ExecuteScalar(string cmdText, Spring.Data.Common.IDbParameters parameters) { try { return(base.ExecuteScalar(CommandType.Text, cmdText, parameters)); } catch (Exception e) { throw e; } }
public int ExecuteNonQuery(string cmdText, Spring.Data.Common.IDbParameters parameters) { int effectCount = -1; try { effectCount = base.ExecuteNonQuery(CommandType.Text, cmdText, parameters); } catch (Exception e) { throw e; } return(effectCount); }
public System.Data.DataTable QueryDataTable(System.Data.CommandType commandType, string cmdText, Spring.Data.Common.IDbParameters parameters) { if (commandType == CommandType.StoredProcedure) { cmdText = cmdText.Split(' ')[0]; } try { return(base.DataTableCreateWithParams(commandType, cmdText, parameters)); } catch (Exception e) { throw e; } }