Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoTemplate Members

AdoTemplate overview

Public Instance Constructors

AdoTemplate Overloaded. Initializes a new instance of the AdoTemplate class.

Public Instance Properties

CommandTimeout (inherited from AdoAccessor) Gets or sets the command timeout for IDbCommands that this AdoTemplate executes.
DataReaderWrapperType Gets or set the System.Type to use to create an instance of IDataReaderWrapper for the purpose of having defaults values to use in case of DBNull values read from IDataReader.
DbProvider An instance of a DbProvider implementation.
ExceptionTranslator Gets or sets the exception translator. If no custom translator is provided, a default ErrorCodeExceptionTranslator is used.
LazyInit Gets or sets a value indicating whether to lazily initialize the IAdoExceptionTranslator for this accessor, on first encounter of a exception from the data provider. Default is "true"; can be switched to "false" for initialization on startup.

Public Instance Methods

AfterPropertiesSetMissing <summary> documentation for M:Spring.Data.Core.AdoTemplate.AfterPropertiesSet
CreateDataReaderWrapper Creates the data reader wrapper for use in AdoTemplate callback methods.
CreateDbParameters (inherited from AdoAccessor)Overloaded. Creates a new instance of DbParameters
DataSetCreateOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.DataSetCreate(System.Data.CommandType,System.String)
DataSetCreateWithParamsOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.DataSetCreateWithParams(System.Data.CommandType,System.String,Spring.Data.Common.IDbParameters)
DataSetFillOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.DataSetFill(System.Data.DataSet,System.Data.CommandType,System.String)
DataSetFillWithParametersOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.DataSetFillWithParameters(System.Data.DataSet,System.Data.CommandType,System.String,Spring.Data.Common.IDbParameters)
DataSetUpdateOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.DataSetUpdate(System.Data.DataSet,System.String,System.Data.IDbCommand,System.Data.IDbCommand,System.Data.IDbCommand)
DataSetUpdateWithCommandBuilderOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.DataSetUpdateWithCommandBuilder(System.Data.DataSet,System.Data.CommandType,System.String,Spring.Data.Common.IDbParameters,System.String)
DataTableCreateOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.DataTableCreate(System.Data.CommandType,System.String)
DataTableCreateWithParamsOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.DataTableCreateWithParams(System.Data.CommandType,System.String,Spring.Data.Common.IDbParameters)
DataTableFillOverloaded. Fill a DataTable based on a select command that requires no parameters.
DataTableFillWithParamsOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.DataTableFillWithParams(System.Data.DataTable,System.Data.CommandType,System.String,Spring.Data.Common.IDbParameters)
DataTableUpdateOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.DataTableUpdate(System.Data.DataTable,System.String,System.Data.CommandType,System.String,Spring.Data.Common.IDbParameters,System.Data.CommandType,System.String,Spring.Data.Common.IDbParameters,System.Data.CommandType,System.String,Spring.Data.Common.IDbParameters)
DataTableUpdateWithCommandBuilderOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.DataTableUpdateWithCommandBuilder(System.Data.DataTable,System.Data.CommandType,System.String,Spring.Data.Common.IDbParameters,System.String)
DeriveParametersOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.DeriveParameters(System.String,System.Boolean)
DeriveParameters (inherited from AdoAccessor)Overloaded. Derives the parameters of a stored procedure, not including the return parameter.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
ExecuteOverloaded. Execute a ADO.NET operation on a command object using a delegate callback.
ExecuteNonQueryOverloaded. Executes a non query returning the number of rows affected.
ExecuteScalarOverloaded. Execute the query with the specified command text.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
QueryForObjectOverloaded. Execute a query with the specified command text, mapping a single result row to an object via a RowMapper.
QueryForObjectDelegateOverloaded. Execute a query with the specified command text, mapping a single result row to an object via a RowMapper.
QueryWithCommandCreatorOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.QueryWithCommandCreator(Spring.Data.IDbCommandCreator,Spring.Data.IResultSetExtractor)
QueryWithResultSetExtractorOverloaded. Execute a query given static SQL/Stored Procedure name and process a single result set with an instance of IResultSetExtractor
QueryWithResultSetExtractorDelegateOverloaded. Execute a query given static SQL/Stored Procedure name and process a single result set with an instance of IResultSetExtractor
QueryWithRowCallbackOverloaded. Execute a query given IDbCommand's type and text, reading a single result set on a per-row basis with a IRowCallback.
QueryWithRowCallbackDelegateOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.QueryWithRowCallbackDelegate(System.Data.CommandType,System.String,Spring.Data.RowCallbackDelegate)
QueryWithRowMapperOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.QueryWithRowMapper(System.Data.CommandType,System.String,Spring.Data.IRowMapper)
QueryWithRowMapperDelegateOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.QueryWithRowMapperDelegate(System.Data.CommandType,System.String,Spring.Data.RowMapperDelegate)
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

commandTimeout (inherited from AdoAccessor)Missing <summary> documentation for F:Spring.Data.Core.AdoAccessor.commandTimeout
dataReaderWrapperTypeMissing <summary> documentation for F:Spring.Data.Core.AdoTemplate.dataReaderWrapperType
newDataReaderWrapperMissing <summary> documentation for F:Spring.Data.Core.AdoTemplate.newDataReaderWrapper

Protected Instance Methods

ApplyCommandSettings (inherited from AdoAccessor) Prepare the command setting the transaction timeout.
CreateDataSetMissing <summary> documentation for M:Spring.Data.Core.AdoTemplate.CreateDataSet
CreateDataTableMissing <summary> documentation for M:Spring.Data.Core.AdoTemplate.CreateDataTable
CreateDbParameters (inherited from AdoAccessor)Overloaded. Creates the a db parameters collection, adding to the collection a parameter created from the method parameters.
DoCreateMappingCollectionMissing <summary> documentation for M:Spring.Data.Core.AdoTemplate.DoCreateMappingCollection(System.String[])
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetCommandText (inherited from AdoAccessor)Missing <summary> documentation for M:Spring.Data.Core.AdoAccessor.GetCommandText(System.Object)
InitExceptionTranslatorMissing <summary> documentation for M:Spring.Data.Core.AdoTemplate.InitExceptionTranslator
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ValidateFillArgumentsOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.ValidateFillArguments(System.Data.DataSet,System.String)
ValidateFillWithParameterArgumentsOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.ValidateFillWithParameterArguments(System.Data.DataTable,System.String,Spring.Data.Common.IDbParameters)
ValidateUpdateArgumentsOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.ValidateUpdateArguments(System.Data.DataSet,System.Data.ITableMappingCollection)
ValidateUpdateWithCommandBuilderArgumentsOverloaded. Missing <summary> documentation for M:Spring.Data.Core.AdoTemplate.ValidateUpdateWithCommandBuilderArguments(System.Data.DataSet,System.Data.ITableMappingCollection,System.String)

See Also

AdoTemplate Class | Spring.Data.Core Namespace