public sealed class Field
A field within a struct.
Namespace
Google.Cloud.Spanner.DataAssembly
Google.Cloud.Spanner.Data.dll
Constructors
Field(String, SpannerDbType, Object)
public Field(string name, SpannerDbType type, object value)
Constructs a struct field with the given name, type and value.
Parameters | |
---|---|
Name | Description |
name | String Name of the field. May be null, which will be converted into an empty string. |
type | SpannerDbType Type of the field. Must not be null. |
value | Object Value of the field. May be null. |
Properties
Name
public string Name { get; }
Name of the field in the struct; will never be null, but may be empty.
Property Value | |
---|---|
Type | Description |
String |
Type
public SpannerDbType Type { get; }
Type of the field. Never null.
Property Value | |
---|---|
Type | Description |
SpannerDbType |
Value
public object Value { get; }
Value of the field. May be null.
Property Value | |
---|---|
Type | Description |
Object |