Leadtools.Services.DataContracts Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DbBinaryData Constructor(DbBinaryDataProvider,String,DbBinaryDataCommandType,String,String,DbBinaryDataFieldType,String)
See Also 
Leadtools.Services.DataContracts Namespace > DbBinaryData Class > DbBinaryData Constructor : DbBinaryData Constructor(DbBinaryDataProvider,String,DbBinaryDataCommandType,String,String,DbBinaryDataFieldType,String)



provider
The type of DbConnection to be used.
connectionString
The connection used to open the data source.
commandType
The command type which specifies how to parse the commandText property.
commandText
The command text to execute.
dataFieldName
The file name.
dataFieldType
The field type.
dataFieldPathBase
The directory to which to load or save the file.
Initializes a new instance of the DbBinaryData class with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal provider As DbBinaryDataProvider, _
   ByVal connectionString As String, _
   ByVal commandType As DbBinaryDataCommandType, _
   ByVal commandText As String, _
   ByVal dataFieldName As String, _
   ByVal dataFieldType As DbBinaryDataFieldType, _
   ByVal dataFieldPathBase As String _
)
Visual Basic (Usage)Copy Code
Dim provider As DbBinaryDataProvider
Dim connectionString As String
Dim commandType As DbBinaryDataCommandType
Dim commandText As String
Dim dataFieldName As String
Dim dataFieldType As DbBinaryDataFieldType
Dim dataFieldPathBase As String
 
Dim instance As DbBinaryData(provider, connectionString, commandType, commandText, dataFieldName, dataFieldType, dataFieldPathBase)

Parameters

provider
The type of DbConnection to be used.
connectionString
The connection used to open the data source.
commandType
The command type which specifies how to parse the commandText property.
commandText
The command text to execute.
dataFieldName
The file name.
dataFieldType
The field type.
dataFieldPathBase
The directory to which to load or save the file.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features