dotConnect for SQLite Documentation
Devart.Common Namespace / DbCommandBase Class / ParameterCheck Property

In This Topic
    ParameterCheck Property
    In This Topic
    Gets or sets a value indicating whether the command object regenerates parameter objects if text of the command is changed.
    Syntax
    'Declaration
     
    Public Property ParameterCheck As Boolean
    public bool ParameterCheck {get; set;}

    Property Value

    Value indicating whether the command object regenerates parameter objects if text of the command is changed. The default value is false.
    Remarks
    If true, the System.Data.Common.DbCommand.Parameters collection is automatically regenerated to reflect all parameters contained in command text. In other words, quantity of parameters in the collection always equals to quantity of parameters in the query string. If due to text changes the quantity of parameters is increased, then old parameters will retain their values while all new parameters will be empty. For detailed explanation on behavior of ParameterCheck property please read article Using Parameters in dotConnect.
    See Also