Knight Data Access Layer
IDatabaseProvider Interface Members
Properties  Methods 

KellermanSoftware.NetDataAccessLayer Namespace : IDatabaseProvider Interface

The following tables list the members exposed by IDatabaseProvider.

Public Properties
 NameDescription
 Property Connection object  
 Property Connection String  
 Property Returns database name  
 Property Returns true if the connection is open  
 Property Returns true if we are in a transaction  
 Property A character prefix for parameters such as @ for SQL Server  
 Property Returns true if the provider supports comments  
 Property The current transaction  
Top
Public Methods
 NameDescription
 Method Begin a new transaction  
 Method Close the database connection  
 Method Commit the current transaction  
 Method Opens and closes the connection to ensure it is valid.  
 Method Get the number of records in a table  
 Method Create new database  
 Method Check database existance  
 Method (Inherited from System.IDisposable)
 Method Drop (remove) a table from the database  
 MethodOverloaded.  Execute the passed query and return the number of affected records  
 MethodOverloaded.  Execute the passed query and return the first column of the first row  
 MethodOverloaded.  Fill a data table with the passed sql and parameters  
 Method Returns true if the Foreign Key Exists  
 Method Get the SQL for adding a column to an existing table  
 Method Get all constraints for the current database  
 Method Get portion of SQL used for the column definition for add column and create table sql  
 Method Get sql comment using the given comment text  
 Method Get comment separator line  
 Method Get the SQL for creating a table  
 Method Get the SQL for creating a table with a composite key  
 Method Get the SQL for creating a table with a primary key  
 Method Get the SQL to create the tables  
 Method Get a list of databases for the current database server  
 Method Get the date of the database server  
 Method Get a list of tables in the current database  
 Method Get the database field type for the passed standard DbType  
 MethodOverloaded.  Get a data table  
 Method Get DbType for provided ClrType  
 Method Get the sql to drop a table  
 Method Get the maximum value for a primary key  
 Method Get the sql to truncate a table.  
 Method Get the SQL to update the tables  
 MethodOverloaded.  Get a list of records using the passed SQL  
 MethodOverloaded.  Get one record where it is equal to the passed columnValue  
 Method Get a page of records for a table  
 MethodOverloaded.  Get a limited number of records for a table  
 Method Mark the primary key of the passed table  
 Method Open the database connection  
 MethodOverloaded.  Returns true if the record exists  
 Method Perform a rollback of the current transaction  
 Method Returns true if the passed table exists in the database  
 Method Delete all the records from a table  
 Method Wrap a table name or field name in square brackets or back ticks  
Top
See Also

Reference

IDatabaseProvider Interface
KellermanSoftware.NetDataAccessLayer Namespace