(轉)SQLHelper源碼

using  System;
using  System.Data;
using  System.Xml;
using  System.Data.SqlClient;
using  System.Collections;


namespace  Microsoft.ApplicationBlocks.Data
{
    
/// <summary>
    
/// The SqlHelper class is intended to encapsulate high performance, scalable best practices for 
    
/// common uses of SqlClient.
    
/// </summary>

    public sealed class SqlHelper
    
{
        
private utility methods & constructors private utility methods & constructors

        
ExecuteNonQuery ExecuteNonQuery

        
ExecuteDataSet ExecuteDataSet
        
        
ExecuteReader ExecuteReader

        
ExecuteScalar ExecuteScalar    

        
ExecuteXmlReader ExecuteXmlReader
    }


    
/// <summary>
    
/// SqlHelperParameterCache provides functions to leverage a static cache of procedure parameters, and the
    
/// ability to discover parameters for stored procedures at run-time.
    
/// </summary>

    public sealed class SqlHelperParameterCache
    
{
        
private methods, variables, and constructors private methods, variables, and constructors

        
caching functions caching functions

        
Parameter Discovery Functions Parameter Discovery Functions

    }

}
 

你可能感兴趣的:((轉)SQLHelper源碼)