Click or drag to resize

DbCommandImageAccessorGetDatabaseObject Method (IDbCommand, DbCommandImageAccessorFieldGetter, Object)

Gets the database object from the first row of the data set returned by the command from the field at
index
which can be either a field name or an integer index.

Namespace:  Atalasoft.Imaging.ImageSources.Data
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
protected virtual Object GetDatabaseObject(
	IDbCommand cmd,
	DbCommandImageAccessorFieldGetter fieldGetter,
	Object index
)

Parameters

cmd
Type: System.DataIDbCommand
The command to use to get the data set.
fieldGetter
Type: Atalasoft.Imaging.ImageSources.DataDbCommandImageAccessorFieldGetter
A delegate that can get the field using the
index
.
index
Type: SystemObject
An object that can be used to determine which field to get (by passing it to fieldGetter).

Return Value

Type: Object
The value of the field refered to by index.
See Also