NeatUpload Documentation

SqlServerBlobStream Constructor (String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, Int32)

Main constructor; creates a SqlServerBlobStream against given database using given settings

public SqlServerBlobStream(
   string ConnectionString,
   string TableName,
   string DataColumnName,
   string PartialFlagColumnName,
   string FileNameColumnName,
   string FileName,
   string MIMETypeColumnName,
   string MIMEType,
   string createProcedure,
   string openProcedure,
   string writeProcedure,
   string readProcedure,
   string cleanupProcedure,
   string renameProcedure,
   string storeHashProcedure,
   string deleteProcedure,
   int identity
);

Parameters

ConnectionString
Connections string agains the database to use
TableName
Name of table to which we write the streamed data
DataColumnName
Name of table column to store data into (usually of type Text or Image)
PartialFlagColumnName
Optional Name of table column to store a "partial"-flag in; while uploading this will be set to 1 (or set by CreatorProcedure), when done it will be set to 0
FileNameColumnName
Optional Name of table column where the name of the uploaded file will be stored
FileName
Optional Name of the uploaded file
MIMETypeColumnName
Optional Name of table column where the MIME-type of the uploaded file will be stored
MIMEType
Optional MIME-type of the uploaded file
createProcedure
openProcedure
writeProcedure
readProcedure
cleanupProcedure
renameProcedure
storeHashProcedure
deleteProcedure
identity
Optionalthe identity of the row to open, -1 means create a new row.

See Also

SqlServerBlobStream Class | Hitone.Web.SqlServerUploader Namespace | SqlServerBlobStream Constructor Overload List