VistaDB 6
VistaDB.Provider Namespace / VistaDBCommandBuilder Class / GetUpdateCommand Method / GetUpdateCommand(Boolean) Method
If true, generate parameter names matching column names, if possible. If false, generate @p1, @p2, and so on.


In This Topic
    GetUpdateCommand(Boolean) Method
    In This Topic
    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
    )

    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