VistaDB 5






If true, generate parameter names matching column names, if possible. If false, generate @p1, @p2, and so on.
GetUpdateCommand(Boolean) Method
Gets the automatically generated VistaDBCommand object required to perform updates at the data source, optionally using columns for parameter names.
Syntax
'Declaration
 
Public Overloads Shadows Function GetUpdateCommand( _
   ByVal useColumnsForParameterNames As System.Boolean _
) As VistaDBCommand
'Usage
 
Dim instance As VistaDBCommandBuilder
Dim useColumnsForParameterNames As System.Boolean
Dim value As VistaDBCommand
 
value = instance.GetUpdateCommand(useColumnsForParameterNames)
public new VistaDBCommand GetUpdateCommand( 
   System.bool useColumnsForParameterNames
)
public function GetUpdateCommand( 
    useColumnsForParameterNames: System.Boolean
): VistaDBCommand; 
public hide function GetUpdateCommand( 
   useColumnsForParameterNames : System.boolean
) : VistaDBCommand;
public: new VistaDBCommand* GetUpdateCommand( 
   System.bool useColumnsForParameterNames
) 
public:
new VistaDBCommand^ GetUpdateCommand( 
   System.bool useColumnsForParameterNames
) 

Parameters

useColumnsForParameterNames
If true, generate parameter names matching column names, if possible. If false, generate @p1, @p2, and so on.

Return Value

The automatically generated VistaDBCommand object required to perform updates.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also