Class ColumnValueBag
Stores column and data value as dictionary of key-value pairs.
Inheritance
Implements
Inherited Members
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public sealed class ColumnValueBag : IReadOnlyDictionary<Column, object>, IReadOnlyCollection<KeyValuePair<Column, object>>, IEnumerable<KeyValuePair<Column, object>>, IEnumerable
Properties
Name | Description |
---|---|
Count | Gets the count of this dictionary. |
Item[Column] | Gets or sets the data value for specified column. |
Keys | Gets the keys in this dictionary. |
Values | Gets the values in this dictionary. |
Methods
Name | Description |
---|---|
AutoSelect(CandidateKey, DataRow) | Automatically select all CandidateKey columns and their data values for specified DataRow. |
AutoSelect(Projection, DataRow, Boolean) | Automatically select all columns of Projection for specified DataRow. |
Clear() | Clears all items in this dictionary. |
Clone() | Clones this object. |
ContainsKey(CandidateKey) | Determines whether all columns of specified CandidateKey are contained in this dictionary. |
ContainsKey(Column) | Determines whether specified column is contained in this dictionary. |
GetEnumerator() | Gets the enumerator of this dictionary. |
GetValue<T>(Column<T>) | Gets the data value for specified column. |
Remove(Column) | Removes specified column from this dictionary. |
ResetValues() | Resets all data values to default value of associated column. |
SetValue(Column, DataRow) | Sets the data value from specified DataRow for the specified column key. |
SetValue<T>(Column<T>, T) | Sets the data value for the specified column key. |
TryGetValue(Column, out Object) | Gets the value that is associated with the specified column key. |
Explicit Interface Implementations
Name | Description |
---|---|
IEnumerable.GetEnumerator() |