Represents a set of in-memory data records with the same schema.
Inheritance Hierarchy
NReco.Data RecordSet
Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax
The RecordSet type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | RecordSet( RecordSet Column ) |
Initializes a new instance of RecordSet with specified list of RecordSet Column.
|
![]() | RecordSet( RecordSet Column , Int32) |
Initializes a new instance of RecordSet with specified list of RecordSet Column and capacity.
|
Methods
Name | Description | |
---|---|---|
![]() | AcceptChanges |
Commits all the changes made to this RecordSet since the last time AcceptChanges was called.
|
![]() | Add |
Creates a new row.
|
![]() | Add(IDictionary String, Object ) |
Creates a row using specified column -> value dictionary and adds it to the RecordSet.
|
![]() | Add( Object ) |
Creates a row using specified values and adds it to the RecordSet.
|
![]() | Clear |
Clears the collection of all rows.
|
![]() | Contains |
Determines whether the specified row is present in this RecordSet.
|
![]() | Equals | (Inherited from Object.) |
![]() ![]() | FromModel T |
Creates an empty RecordSet with schema inferred from the annotated object model.
|
![]() ![]() | FromModel T (IEnumerable T , RecordSet RowState) |
Creates a RecordSet with schema and rows inferred from the annotated object models.
|
![]() ![]() | FromModel T (T, RecordSet RowState) |
Creates a RecordSet with schema and row inferred from the annotated object model.
|
![]() ![]() | FromReader |
Creates a RecordSet from a data source using the supplied IDataReader.
|
![]() ![]() | FromReaderAsync(IDataReader) |
Asynchronously creates a RecordSet from a data source using the supplied IDataReader.
|
![]() ![]() | FromReaderAsync(IDataReader, CancellationToken) |
Asynchronously creates a RecordSet from a data source using the supplied IDataReader.
|
![]() | GetEnumerator |
Returns an enumerator that iterates through the rows in this RecordSet.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Load |
Fills a RecordSet with values from a data source using the supplied IDataReader.
|
![]() | Remove |
Removes the row from this RecordSet.
|
![]() | SetPrimaryKey | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | Columns |
Gets the columns of this RecordSet.
|
![]() | Count |
Gets the total number of Rows in this RecordSet.
|
![]() | Item |
Gets the row at the specified index.
|
![]() | PrimaryKey |
Gets or sets an array of columns that function as primary keys for this RecordSet.
|
See Also