Namespace :CA.Blocks.DataAccess
Assembly : CA.Blocks.DataAccess.dll
This class provides the abstract implementation for the Code Associate Data Access Block. The Abstract implementation is build upon utilizing common System.Data methods and interfacing out the Specific DBCommand using the IDbCommand interface. In doing this all specializations built on top of this class will behave in the same manor. This class is abstract and cannot be created.
Name | Description | |
---|---|---|
DataAccessCore(CA.Blocks.DataAccess.DI.IDataAccessConfig,CA.Blocks.DataAccess.Translator.DbRowToObject.Interfaces.IDbRowTranslatorProvider) | This is a protected constructor which must be called by the inheriting class, bu default it will get the configuration value stored in connectionStrings element of the configuration. This value can be overriden using the ResolveConnectionStringValue method. |
Name | Description | |
---|---|---|
WrapUp(System.Data.IDbConnection,System.Boolean) | The WrapUp procedure is called when completing a database call. It will establish whether or not to close the connection pending the variable closeConnection which would have been passed back from the PrepCommand. The PrepCommand and WrapUp work in tandem when executing commands though this common class. | |
TraceDbStatement(System.Data.IDbCommand) | ||
GetDataAdapter(System.Data.IDbCommand) | ||
PrepCommand(System.Data.IDbCommand) | ||
ExecuteNonQuery(System.Data.IDbCommand) | ||
ExecuteDataSet(System.Data.IDbCommand) | ||
ExecuteDataSet(System.Data.IDbCommand,System.Data.DataSet,System.String) | ||
ExecuteDataTable(System.Data.IDbCommand) | ||
ExecuteDataRow(System.Data.IDbCommand) | ||
⚠ | ExecuteDictionary(System.Data.IDbCommand) | This will be removed as it is more of a specialized translator |
ExecuteScalar(System.Data.IDbCommand) | ||
ExecuteScalarAsString(System.Data.IDbCommand,System.String) | ||
ExecuteScalarAsInt(System.Data.IDbCommand,System.Int32) | ||
ExecuteScalarAsShort(System.Data.IDbCommand,System.Int16) | ||
ExecuteScalarAsByte(System.Data.IDbCommand,System.Byte) | ||
ExecuteScalarAsLong(System.Data.IDbCommand,System.Int64) | ||
ExecuteScalarAsGuid(System.Data.IDbCommand,System.Guid) | ||
ExecuteScalarAsGuid(System.Data.IDbCommand) | ||
ExecuteReader(System.Data.IDbCommand) | ||
ExecuteObject(System.Data.IDbCommand) | ||
ExecuteObjectList(System.Data.IDbCommand) | ||
ExecuteTo(System.Data.IDbCommand) | ||
ExecuteToListOf(System.Data.IDbCommand) |
Get | Set | Name | Description | |
---|---|---|---|---|
ConnectionString | System.String |