Example #1
0
 /// <summary>
 /// This method is used to get the Scalar Value from the given Stored Procedure based
 /// on the parameters
 /// </summary>
 /// <param name="parameters">Parameter Values</param>
 /// <param name="procName">Strored procedure Name </param>
 /// <returns> Object </returns>
 public object GetScalarValue(object[] parameters, string procName)
 {
     return(dataBase.ExecuteScalar(dataBase.GetStoredProcCommand(procName, parameters)));
 }