Click or drag to resize

PostgreSQLProvider Class

Represents a IDbProvider for PostgreSQL
Inheritance Hierarchy
SystemObject
  SanteDB.OrmLite.Providers.PostgresPostgreSQLProvider

Namespace:  SanteDB.OrmLite.Providers.Postgres
Assembly:  SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 2.2.1
Syntax
public class PostgreSQLProvider : IDbMonitorProvider, 
	IDbProvider

The PostgreSQLProvider type exposes the following members.

Constructors
  NameDescription
Public methodPostgreSQLProvider
Create new provider
Top
Properties
  NameDescription
Public propertyCanCancelCommands
True if commands can be cancel
Public propertyConnectionString
Gets or sets the connection string
Public propertyFeatures
SQL Engine features
Public propertyInvariant
Get name of provider
Public propertyMonitorProbe
Get the monitor probe
Public propertyReadonlyConnectionString
Gets or sets the connection string
Public propertyTraceSql
Trace SQL commands
Top
Methods
  NameDescription
Public methodCloneConnection
Create a new connection from an existing data source
Public methodConvertValue
Convert value just uses the mapper if needed
Public methodCount
Return exists
Public methodCreateCommand(DataContext, SqlStatement)
Create a command
Public methodCreateCommand(DataContext, String, Object)
Create a command from string sql
Public methodCreateIndex
Create the statement to define the index
Public methodCreateSqlKeyword
Create SQL keyword
Public methodCreateStoredProcedureCommand
Create a stored procedure command
Public methodDropIndex
Create the statement to drop the specified index
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExists
Return exists
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDatabaseName
Get the name of the database
Public methodGetFilterFunction
Gets the filter function
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIndexFunction
Gets the index function
Public methodGetReadonlyConnection
Gets a readonly connection
Public methodGetResetSequence
Get reset sequence command
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWriteConnection
Get a connection that can be written to
Public methodLock
Gets a lock
Public methodMapParameterType
Map a parameter type from the provided type
Public methodMapSchemaDataType
Map datatype
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReturning
Append a returning statement
Public methodStatActivity
Get status of server connection
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Public Extension MethodUpgradeSchema
Upgrade the schema
(Defined by SqlFeatureUtil.)
Top
See Also