Udostępnij za pośrednictwem


CompositeTableKey Class

Definition

A CompositeTableKey contains one or more keys used to identify a single row in a table. The string format of a CompositeTableKey is a comma separated list (without LWS) of optionally single-quoted terms. The terms only have to be quoted if they contain a comma.

public class CompositeTableKey
type CompositeTableKey = class
Public Class CompositeTableKey
Inheritance
CompositeTableKey

Constructors

CompositeTableKey(String[])

Initialize a new instance of the CompositeTableKey with a given number of String representing an ordered list of segments making up the composite key.

Properties

Segments

Gets the ordered Collection<T> of segments making up the composite key.

Methods

Parse(String)

Parse a string as a CompositeTableKey. The value has to be a comma separated list (without LWS) of optionally single-quoted terms. If the value is not valid then an ArgumentException is thrown.

ToString()

Generates a String representation of the composite key.

TryParse(String, CompositeTableKey)

Attempts creating a new CompositeTableKey from a given tableKey. The return value indicates whether the parsing succeeded.

Applies to