Click or drag to resize

IDbProvider Interface

Data provider

Namespace: SanteDB.OrmLite.Providers
Assembly: SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 3.0.2081-alpha+d0a78774d3f97b9193d2ae2fef6d129ea9f29519
Syntax
public interface IDbProvider

The IDbProvider type exposes the following members.

Properties
 NameDescription
Public propertyCanCancelCommands True if this provider can cancel commands
Public propertyConnectionString Read/write connection string
Public propertyInvariant Get name of the provider
Public propertyMonitorProbe Gets the prove for the provider
Public propertyReadonlyConnectionString Readonly (mirror) connection string
Public propertyStatementFactory Gets the statement factory for this provider
Public propertyTraceSql Trace SQL commands
Top
Methods
 NameDescription
Public methodCloneConnection Get connection to a specified connection string
Public methodConvertValue(Object, Type) Convert value
Public methodConvertValueT(Object) Convert value
Public methodCreateCommand(DataContext, SqlStatement) Creates a command on the specified transaction
Public methodCreateCommand(DataContext, String, Object) Create command with specified text and parameters
Public methodCreateStoredProcedureCommand Creates a stored procedure call command
Public methodGetDatabaseName Get the name of the database
Public methodGetReadonlyConnection Retrieves a readonly connection
Public methodGetWriteConnection Retrieves a read/writer connection
Public methodInitializeConnection Allows te database connection provider to initialize the connection
Public methodMapParameterType Map a type to parameter type
Public methodMapSchemaDataType Map datatype
Public methodOptimize Optimize the databases
Top
Extension Methods
 NameDescription
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)
Top
See Also