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: 3.0.2081-alpha+d0a78774d3f97b9193d2ae2fef6d129ea9f29519
Syntax
public class PostgreSQLProvider : IDbMonitorProvider, 
	IDbProvider, IEncryptedDbProvider, IReportProgressChanged, IDisableConstraintProvider, IDbBackupProvider

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 propertyInvariant Get name of provider
Public propertyMonitorProbe Get the monitor probe
Public propertyReadonlyConnectionString Gets or sets the connection string
Public propertyStatementFactory Gets the statement factory for this provider
Public propertyTraceSql Trace SQL commands
Top
Methods
 NameDescription
Public methodBackupToStream Backup the contents of the database this provider represents to backupStream
Public methodCloneConnection Create a new connection from an existing data source
Public methodConvertValue(Object, Type) Convert value just uses the mapper if needed
Public methodConvertValueT(Object) Convert value
Public methodCreateCommand(DataContext, SqlStatement) Create a command
Public methodCreateCommand(DataContext, String, Object) Create a command from string sql
Public methodCreateStoredProcedureCommand Create a stored procedure command
Public methodDisableAllConstraints Disable all constraints on the connection
Public methodEnableAllConstraints Enable all constraints on the connection
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows 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 methodGetEncryptionProvider Get the encryption provider
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetReadonlyConnection Gets a readonly connection
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetWriteConnection Get a connection that can be written to
Public methodInitializeConnection Allows te database connection provider to initialize the connection
Public methodMapParameterType Map a parameter type from the provided type
Public methodMapSchemaDataType Map datatype
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMigrateEncryption Migrate the encryption
Public methodOptimize Optimize the database
Public methodRestoreFromStream Restore the contents of the database from restoreStream to the database this provider represents
Public methodSetEncryptionSettings Set the encryption settings
Public methodStatActivity Get status of server connection
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventProgressChanged Fired when the progress of this instance has changed
Top
Fields
 NameDescription
Public fieldStatic memberInvariantName Invariant name
Public fieldStatic memberProviderFactoryType The factory this provider uses
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 MethodCreateBackupAsset Create a backup asset for a provider
(Defined by SqlFeatureUtil)
Public Extension MethodGetDataConfigurationProvider Get the configuration provider
(Defined by SqlFeatureUtil)
Public Extension MethodRestoreBackupAsset Restore a backup asset
(Defined by SqlFeatureUtil)
Public Extension MethodUpgradeSchema Upgrade schema
(Defined by SqlFeatureUtil)
Public Extension MethodUpgradeSchema Upgrade the schema
(Defined by SqlFeatureUtil)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also