Title here
Summary here
This attribute defines if the column is used as as Key when the object is stored in a Key/Value database (e.g. Couchbase or Redis). The key column must either be of type string or implement the ToString() method.
[AttributeUsage(AttributeTargets.Property)]
public sealed class KeyColumn : Attributepublic class MyPoco : MergeableRow
{
[KeyColumn]
public string KeyName { get; set; }
public string Value {get;set; }
}This property is used as an Key column when inserting data into a Key/Value store
public KeyColumn()Name of the property used for the Key - must be of type string
public string KeyPropertyName { get; set; }| Type | Description |
|---|---|
| string |