Class Key (3.13.0)

public sealed class Key

Immutable class that defines a key for a single row in a table or index.

Inheritance

Object > Key

Namespace

Google.Cloud.Spanner.Data

Assembly

Google.Cloud.Spanner.Data.dll

Constructors

Key(Object[])

public Key(params object[] keyParts)

Creates a key consisting of the given key parts.

Parameter
NameDescription
keyPartsObject[]

The values that define the key

Methods

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
Int32
Overrides

ToString()

public override string ToString()
Returns
TypeDescription
String
Overrides