Click or drag to resize

SqliteProvider Class

SQL Lite provider
Inheritance Hierarchy
SystemObject
  SanteDB.OrmLite.Providers.SqliteSqliteProvider
    SanteDB.OrmLite.Providers.SqliteSqliteWriteBackProvider

Namespace: SanteDB.OrmLite.Providers.Sqlite
Assembly: SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 3.0.2081-alpha+d0a78774d3f97b9193d2ae2fef6d129ea9f29519
Syntax
public class SqliteProvider : IDbProvider, 
	IEncryptedDbProvider, IReportProgressChanged, IDbBackupProvider, IDbMonitorProvider

The SqliteProvider type exposes the following members.

Constructors
 NameDescription
Public methodSqliteProvider New sqlite provider
Top
Properties
 NameDescription
Public propertyCanCancelCommands True if commands can be cancel
Public propertyConnectionString Gets or sets the connection string for this provier
Public propertyInvariant Get the name of the provider
Public propertyMonitorProbe Gets ht emonitor probe
Public propertyReadonlyConnectionString Gets or sets the readonly connection string
Public propertyStatementFactory Gets the statement factory for this provider
Public propertyTraceSql Gets or sets the trace SQL flag
Top
Methods
 NameDescription
Public methodBackupToStream Backup the contents of the database this provider represents to backupStream
Protected methodClearPools Clear all pools
Public methodCloneConnection Clone this connection
Public methodConvertValue(Object, Type) Convert object
Public methodConvertValueT(Object) Convert value
Public methodCreateCommand(DataContext, SqlStatement) Create a command from the specified contxt with sql statement
Public methodCreateCommand(DataContext, String, Object) Create command from string and params
Public methodCreateStoredProcedureCommand Create stored procedure command
Public methodDispose Dispose all waiting handles
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)
Protected methodFireProgressChanged Fire progress changed event
Public methodGetDatabaseName Get the database name
Public methodGetEncryptionProvider Get the encryption provider
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetProviderFactory Get provider factory
Public methodGetReadonlyConnection Gets read only connection
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetWriteConnection Get a write connection
Protected methodGetWriteConnectionInternal Get write connection internal overide the foreign keys
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 
Public methodRestoreFromStream Restore the contents of the database from restoreStream to the database this provider represents
Public methodSetEncryptionSettings Set the encryption settings
Public methodStatActivity Implement this later
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
Protected fieldm_lockoutEvent 
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