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 > MediaCreationSqlDbDataAccessAgent Class : PrepareInsertMediaPathCommand Method




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

Syntax

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

Parameters

insertCommand
The database command which will be initialized to insert the new information.
mediaLocation
The MediaLocation 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