Exemple #1
0
 /// <summary>
 /// Fetches the data table.
 /// </summary>
 /// <param name="storedProcedure">The stored procedure.</param>
 /// <returns>DataSet</returns>
 public static DataTable FetchDataTable(string storedProcedure)
 {
     return(SAL.FetchDataTable(storedProcedure));
 }
Exemple #2
0
 /// <summary>
 /// Fetches the data table.
 /// </summary>
 /// <param name="storedProcedure">The stored procedure.</param>
 /// <param name="paramAndValue">The param and value.</param>
 /// <returns>DataSet</returns>
 public static DataTable FetchDataTable(string storedProcedure, IDictionary paramAndValue)
 {
     return(SAL.FetchDataTable(storedProcedure, paramAndValue));
 }
Exemple #3
0
 /// <summary>
 /// Fetches the SP output (returntype - object).
 /// </summary>
 /// <param name="storedProcedure">The stored procedure.</param>
 /// <param name="paramAndValue">The param and value.</param>
 /// <returns>the object</returns>
 public static object FetchSpObject(string storedProcedure, IDictionary paramAndValue)
 {
     return(SAL.FetchSpObject(storedProcedure, paramAndValue));
 }
Exemple #4
0
 /// <summary>
 /// Fetches the data set.
 /// </summary>
 /// <param name="storedProcedure">The stored procedure.</param>
 /// <returns>DataSet</returns>
 public static DataSet FetchDataSet(string storedProcedure)
 {
     return(SAL.FetchDataSet(storedProcedure));
 }
Exemple #5
0
 /// <summary>
 /// Executes the SP.
 /// </summary>
 /// <param name="storedProcedure">The stored procedure.</param>
 /// <param name="paramAndValue">The param and value.</param>
 /// <returns>Number of Row Affected</returns>
 public static int ExecuteSP(string storedProcedure, IDictionary paramAndValue)
 {
     return(SAL.LoadProcedureItem(storedProcedure, paramAndValue));
 }