dotConnect for Salesforce Documentation
Devart.Data.Salesforce Namespace / SalesforceCommand Class / QueryAll Property

In This Topic
    QueryAll Property
    In This Topic
    Determines whether to select data from the Recycle Bin - the records that were deleted.
    Syntax
    'Declaration
     
    Public Property QueryAll As Boolean
    public bool QueryAll {get; set;}

    Property Value

    true, if the records that were deleted should be selected; true otherwise. The default value is false.
    Remarks
    Note that you should not set this property to true for selecting data from a Salesforce object that is cached locally. You should disable or delete cache before selecting data with this option enabled. Otherwise, provider throws an exception when selecting data from a cached objects with QueryAll=true: "Can not query table '<table name>' with 'QueryAll' enabled. Please, disable or delete cache for it."
    See Also