Krystalware
SlickUpload logo

SqlClientUploadStreamProvider Class

Implements: IUploadStreamProvider

An IUploadStreamProvider that writes to SQL Server databases.

Members

CriteriaMethod

Enumeration of the methods to use when generating criteria.

GetInputStream(UploadedFile)

Returns a SqlClientOutputStream of the file data that was uploaded for the specified location info.

Parameters

Return Value

Stream – A SqlClientOutputStream of the file data that was uploaded.

GetOutputStream(UploadedFile)

Returns a SqlClientInputStream to which to write the file as it is uploaded.

Parameters

Return Value

Stream – A SqlClientInputStream to which to write the UploadedFile.

IdentityIdKey

The UploadedFile.LocationInfo key used to store the identity id value.

RemoveOutput(UploadedFile)

Removes the output record for the specified upload.

Parameters

SqlClientUploadStreamProvider(NameValueConfigurationSection)

Creates a new instance of a SqlClientUploadStreamProvider with the specified configuration settings.

Parameters

WhereCriteriaKey

The UploadedFile.LocationInfo key used to store the where criteria value.