dotConnect for Salesforce Documentation
Devart.Common Namespace / DbCommandBuilderBase Class / KeyFields Property

In This Topic
    KeyFields Property (DbCommandBuilderBase)
    In This Topic
    Gets or sets string containing list of key field names separated by semicolon. They are used to generate update commands.
    Syntax
    'Declaration
     
    Public Property KeyFields As String
    public string KeyFields {get; set;}

    Property Value

    The string containing list of key field names separated by semicolon.
    Remarks

    This property is used when the ConflictOption property is set to OverwriteChanges, otherwise all columns will be used in the WHERE clause.

    If KeyFields is nonempty, its value is used as list of columns for the WHERE clause. If KeyFields is empty, the primary key columns are used.

    See Also