第一步:DBUtility层 用于底层操作SqlHelper(四)

2008-01-12 17:16

   #endregion ExecuteXmlReader
}

///


/// SqlHelperParameterCache provides functions to leverage a static cache of procedure parameters, and the
/// ability to discover parameters for stored procedures at run-time.
///
public sealed class SqlHelperParameterCache
{
   #region private methods, variables, and constructors

   //Since this class provides only static methods, make the default constructor private to prevent
   //instances from being created with "new SqlHelperParameterCache()".
   private SqlHelperParameterCache() {}

   private static Hashtable paramCache = Hashtable.Synchronized(new Hashtable());

   ///


   /// resolve at run time the appropriate set of SqlParameters for a stored procedure
   ///
   /// a valid connection string for a SqlCo

你可能感兴趣的:(string,methods,variables,parameters,caching,cache)