Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoAccessor Members

AdoAccessor overview

Public Instance Properties

CommandTimeout 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

AfterPropertiesSet Invoked by an IObjectFactory after it has injected all of an object's dependencies.
CreateDataReaderWrapper Creates the data reader wrapper for use in AdoTemplate callback methods.
CreateDbParametersOverloaded. Creates a new instance of DbParameters
DeriveParametersOverloaded. 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.
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.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Constructors

AdoAccessor Constructor Initializes a new instance of the AdoAccessor class.

Protected Instance Fields

commandTimeoutMissing <summary> documentation for F:Spring.Data.Core.AdoAccessor.commandTimeout

Protected Instance Methods

ApplyCommandSettings Prepare the command setting the transaction timeout.
CreateDbParametersOverloaded. Creates the a db parameters collection, adding to the collection a parameter created from the method parameters.
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.
GetCommandTextMissing <summary> documentation for M:Spring.Data.Core.AdoAccessor.GetCommandText(System.Object)
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

AdoAccessor Class | Spring.Data.Core Namespace