Knight Data Access Layer
PostgreSqlProvider Class Methods


KellermanSoftware.NetDataAccessLayer.Providers Namespace : PostgreSqlProvider Class

For a list of all members of this type, see PostgreSqlProvider members.

Public Methods
 NameDescription
Public Method Begin a new transaction (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverridden.  Build a connection string based on the passed in database  
Public MethodOverridden.  Change database  
Public MethodOverloaded.  Clear the file log (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Close the database connection (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Commit the current transaction (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Opens and closes the connection to ensure it is valid. (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverridden.  Get the number of records in a table  
Public MethodOverridden.  Create new database  
Public MethodOverridden.  Check database existence  
Public Method Disable all logging (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Close the connection on Dispose (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Drop (remove) a table from the database (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverloaded.  Log to the console (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverloaded.  Execute the passed query and return the number of affected records (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverloaded.  Execute the passed stored procedure and return the number of affected records. Output parameters will be set on return. (Inherited from KellermanSoftware.NetDataAccessLayer.BaseStoredProcedureProvider)
Public MethodOverloaded.  Execute the passed query and return the first column of the first row (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverloaded.  Execute the passed stored procedure and return the first column of the first row (Inherited from KellermanSoftware.NetDataAccessLayer.BaseStoredProcedureProvider)
Public MethodOverloaded.  Fill a data table with the passed sql and parameters (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Returns true if the Foreign Key Exists (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Get the SQL for adding a column to an existing table (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverridden.  Get all the foreign key constraints for the database  
Public MethodOverridden.  Get portion of SQL used for the column definition for add column and create table sql  
Public Method Get sql comment using the given comment text (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Get comment separator line (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Get the SQL needed to create an index  
Public MethodOverridden.  Currently not supported  
Public Method Get the SQL for creating a table with the primary key (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverridden.  Get the SQL for creating a table with composite keys  
Public MethodOverridden.  Get the SQL for creating a table with a primary key  
Public Method Get the SQL to create the tables (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverridden.  Currently not supported  
Public MethodOverridden.  Get database name from connection string.  
Public MethodOverridden.  Get a list of databases for the database server  
Public MethodOverridden.  Get the current database date  
Public MethodOverridden.  Get a list of tables for the current database  
Public MethodOverridden.  Get the database field type for the passed standard DbType  
Public MethodOverloaded.  Get a datatable from the passed sql (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverridden.  Get a DbType associated with a string from a database  
Public Method Get the DbType for provided ClrType (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverridden.  Currently not supported  
Public MethodOverridden.  Get the sql to drop a table  
Public MethodOverridden.  Currently not supported  
Public MethodOverridden.  Get a .NET type associated with a string from a database  
Public Method Get the identity for the last insert in the current scope  
Public Method Get the SQL used to get the identity for the last inserted record  
Public Method Get indexes for a table  
Public Method Get a limit clause for a provider  
Public Method Get the maximum value for the primary key (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Get the SQL required to get the maximum value of the primary key (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Generate SQL that will get a page of records  
Public Method Get records from stored procedure using passed parameters (Inherited from KellermanSoftware.NetDataAccessLayer.BaseStoredProcedureProvider)
Public MethodOverridden.  Get the server name from the connection string  
Public MethodOverridden.  Get the sql to truncate a table.  
Public Method Get the SQL to update the tables (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Returns true if an index exists for a given table  
Public MethodOverloaded.  Get a list of records using the passed SQL (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverloaded.  Get records by stored procedure with the passed parameters (Inherited from KellermanSoftware.NetDataAccessLayer.BaseStoredProcedureProvider)
Public MethodOverloaded. Overridden.  Get one record from a table by the passed column and value  
Public Method Get a page of records for a table (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverloaded.  Get a limited number of records for a table (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Mark foreign key columns by convention (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Mark Primary Key in a table (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Mark primary key columns by convention (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Open the database connection (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverloaded.  Returns true if the record exists (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public Method Perform a rollback of the current transaction (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverridden.  Returns true if the stored procedure exists  
Public MethodOverridden.  Returns true if the table exists  
Public Method Delete all the records from a table (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Public MethodOverridden.  For PostgreSql table names and field names are not wrapped in square brackets or back ticks  
Top
Protected Methods
 NameDescription
Protected Method Add constraints. (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Protected Method Adds the foreign key constraints. (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Protected Method Build the sql for fields other than the primary key (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Protected MethodOverridden.  Adds parameters to the given command (PostgreSQL needs lower case parameters)  
Protected MethodOverridden.  Builds the top records SQL.  
Protected Method Creates new command with the given command text (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Protected Method Creates new connection (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Protected Method Creates data adapter using the given select command (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Protected Method Get SQL for batch end (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Protected MethodOverridden.  Get the primary columns by the schema  
Protected Method Gets records using the given command (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Protected Method Get SQL for batch start (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Protected Method Intercept the SQL and change it with the passed parameters (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Protected Method Sets parameter using the given parameter value (Inherited from KellermanSoftware.NetDataAccessLayer.BaseDatabaseProvider)
Top
See Also

Reference

PostgreSqlProvider Class
KellermanSoftware.NetDataAccessLayer.Providers Namespace