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: (.NET 4.5.2, x86)
protected virtual IDbCommand CreateGetObjectByIndexCommand(
	IDbConnection conn,
	string procName,
	int imageStreamIndex


Type: System.DataIDbConnection
A connection to the database
Type: SystemString
The name of the stored procedure that can get a dataset by index.
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

Return Value

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