NET Caching Library Help
BaseDatabaseProvider Class Members
Properties  Methods 


KellermanSoftware.NetCachingLibrary.DatabaseProviders Namespace : BaseDatabaseProvider Class

The following tables list the members exposed by BaseDatabaseProvider.

Public Properties
 NameDescription
Public Property Get a reference to the database connection  
Public Property The connection string  
Public Property A character prefix for parameters such as @ for SQL Server  
Top
Public Methods
 NameDescription
Public Method Begin a new transaction  
Public Method Close the database connection  
Public Method Commit the current transaction  
Public Method Create new database  
Public Method Check database existance  
Public Method Close the connection on Dispose  
Public MethodOverloaded.  Execute the passed query and return the number of affected records  
Public MethodOverloaded.  Execute a query and return a single value  
Public Method Get the date of the database server  
Public Method Get the sql to truncate a table.  
Public Method Insert into a table  
Public MethodOverloaded.  Get a list of records using the passed SQL  
Public Method Open the database connection  
Public MethodOverloaded.  Returns true if the record exists  
Public Method Perform a rollback of the current transaction  
Public Method Returns true if the passed table exists in the database  
Public Method Delete all the records from a table  
Public Method Updates the specified table name.  
Top
Protected Methods
 NameDescription
Protected Method Adds parameters to the given command  
Protected Method Creates new command with the given sql  
Protected Method Creates new connection  
Protected Method Gets records using the given command  
Protected Method Sets parameter using the given parameter value  
Top
See Also

Reference

BaseDatabaseProvider Class
KellermanSoftware.NetCachingLibrary.DatabaseProviders Namespace
System.IDisposable