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.
    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