Method | Description | |
---|---|---|
BeginTransaction ( ) : ITransaction |
Begins the transaction. Returns a NEW ConnectionDescriptor that you should use for operations you wish to be part of the transaction. NOTE: You MUST call Commit or Rollback on the returned ITransaction when you are done.
|
|
ColumnAliasPrefix ( ) : string | ||
ColumnAliasSuffix ( ) : string | ||
CreateDataAccessLayer ( ) : IDaLayer |
Returns the appropriate data access layer for this connection. The default implementation returns a normal SQL data access layer, but this may be overridden in particular DB connection descriptors.
|
|
CreateNewAdapter ( IDbCommand cmd ) : |
||
CreateNewConnection ( ) : |
||
MakeModulusClause ( string columnName ) : |
||
MakeSequenceValueQuery ( string sequenceName ) : string | ||
NeedAsForColumnAliases ( ) : bool | ||
NeedToAliasColumns ( ) : bool | ||
SQLiteDescriptor ( |
This constructor reads all the appropriate values from our standard config file in the normal format.
|
|
SQLiteDescriptor ( string databasePath ) : System |
Constructor for talking to a SQLite database.
|
|
SetParametersOnCommand ( IDbCommand cmd, IEnumerable parameters ) : void | ||
SupportsTruncate ( ) : bool | ||
TableAliasPrefix ( ) : string | ||
TableAliasSuffix ( ) : string | ||
ToCleanString ( ) : string | ||
ToCompleteString ( ) : string | ||
UsePooling ( ) : bool |
public CreateNewAdapter ( IDbCommand cmd ) : |
||
cmd | IDbCommand | |
return |
public CreateNewConnection ( ) : |
||
return |
public MakeModulusClause ( string columnName ) : |
||
columnName | string | |
return |
public MakeSequenceValueQuery ( string sequenceName ) : string | ||
sequenceName | string | |
return | string |
public SQLiteDescriptor ( |
||
config | Config to get params from. | |
component | string | Section of the config XML to look in for db params. |
decryptionDelegate | ConnectionInfoDecryptionDelegate | Delegate to call to decrypt password fields. /// May be null if passwords are in plain text. |
return | System |
public SQLiteDescriptor ( string databasePath ) : System | ||
databasePath | string | Path to the db file. |
return | System |
public SetParametersOnCommand ( IDbCommand cmd, IEnumerable parameters ) : void | ||
cmd | IDbCommand | |
parameters | IEnumerable | |
return | void |