LEADTOOLS For .NET Class Library Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
PrepareInsertMediaPathCommand Method
See Also 
Leadtools.Medical.Media.DataAccessLayer Namespace > MediaCreationDbDataAccessAgent Class : PrepareInsertMediaPathCommand Method




insertCommand
The database command which will be initialized to insert the new information.
mediaLocation
A MediaLocation object that represents the media location information to be inserted.
insertCommand
The database command which will be initialized to insert the new information.
mediaLocation
A MediaLocation object that represents the media location information to be inserted.
Initializes a System.Data.Common.DbCommand which inserts information in the "Media Location" table.

Syntax

Visual Basic (Declaration) 
Protected MustOverride Sub PrepareInsertMediaPathCommand( _
   ByVal insertCommand As DbCommand, _
   ByVal mediaLocation As MediaLocation _
) 
Visual Basic (Usage)Copy Code
Dim instance As MediaCreationDbDataAccessAgent
Dim insertCommand As DbCommand
Dim mediaLocation As MediaLocation
 
instance.PrepareInsertMediaPathCommand(insertCommand, mediaLocation)
C# 
protected abstract void PrepareInsertMediaPathCommand( 
   DbCommand insertCommand,
   MediaLocation mediaLocation
)
Managed Extensions for C++ 
protected: abstract void PrepareInsertMediaPathCommand( 
   DbCommand* insertCommand,
   MediaLocation* mediaLocation
) 
C++/CLI 
protected:
abstract void PrepareInsertMediaPathCommand( 
   DbCommand^ insertCommand,
   MediaLocation^ mediaLocation
) 

Parameters

insertCommand
The database command which will be initialized to insert the new information.
mediaLocation
A MediaLocation object that represents the media location information to be inserted.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also