dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlCommandBuilder Class / GetRefreshCommand Method / GetRefreshCommand(Boolean) Method
Determines whether dotConnect for SQL Server uses columns metadata to make up parameters' names. If true, the names are composed using colon and name of appropriate column; otherwise the names look like :p1, :p2 etc.

In This Topic
    GetRefreshCommand(Boolean) Method
    In This Topic
    Gets the automatically generated SQL statement required to refresh values from the data source.
    Syntax
    'Declaration
     
    Public Overloads Shadows Function GetRefreshCommand( _
       ByVal useColumnsForParameterNames As Boolean _
    ) As SqlCommand
    public new SqlCommand GetRefreshCommand( 
       bool useColumnsForParameterNames
    )

    Parameters

    useColumnsForParameterNames
    Determines whether dotConnect for SQL Server uses columns metadata to make up parameters' names. If true, the names are composed using colon and name of appropriate column; otherwise the names look like :p1, :p2 etc.

    Return Value

    A SqlCommand with CommandText containing SQL statement to be executed.
    See Also