LEADTOOLS WCF (Leadtools.Services.DataContracts assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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 System.Data.Common.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.

The DbBinaryData Constructor(DbBinaryDataProvider,String,DbBinaryDataCommandType,String,String,DbBinaryDataFieldType,String) is available in LEADTOOLS Document and Medical Imaging toolkits.

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 New DbBinaryData(provider, connectionString, commandType, commandText, dataFieldName, dataFieldType, dataFieldPathBase)

Parameters

provider
The type of System.Data.Common.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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

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