Click or drag to resize

DbStoredProcImageAccessorCreateGetObjectByIndexCommand Method

Creates a command that can get an image related database object by calling the stored procedure, passing in the given imageStreamIndex.

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 IDbCommand CreateGetObjectByIndexCommand(
	IDbConnection conn,
	string procName,
	int imageStreamIndex
)

Parameters

conn
Type: System.DataIDbConnection
A connection to the database
procName
Type: SystemString
The name of the stored procedure that can get a dataset by index.
imageStreamIndex
Type: SystemInt32
The index of the image stream (in the range of 0 to the count of images). It will be passed into the stored procedure as the first parameter and named
@index
.

Return Value

Type: IDbCommand
A command that can call the stored procedure and pass the index to it.
See Also