RecordSet ClassNReco.Data Class Library Documentation
Represents a set of in-memory data records with the same schema.
Inheritance Hierarchy

System Object
  NReco.Data RecordSet

Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax

public sealed class RecordSet : ICollection<RecordSet&#160;Row>, 
	IEnumerable<RecordSet&#160;Row>, IEnumerable

The RecordSet type exposes the following members.

Constructors

  NameDescription
Public methodRecordSet( RecordSet Column )
Initializes a new instance of RecordSet with specified list of RecordSet Column.
Public methodRecordSet( RecordSet Column , Int32)
Initializes a new instance of RecordSet with specified list of RecordSet Column and capacity.
Top
Methods

  NameDescription
Public methodAcceptChanges
Commits all the changes made to this RecordSet since the last time AcceptChanges  was called.
Public methodAdd 
Creates a new row.
Public methodAdd(IDictionary String, Object )
Creates a row using specified column -> value dictionary and adds it to the RecordSet.
Public methodAdd( Object )
Creates a row using specified values and adds it to the RecordSet.
Public methodClear
Clears the collection of all rows.
Public methodContains
Determines whether the specified row is present in this RecordSet.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberFromModel T  
Creates an empty RecordSet with schema inferred from the annotated object model.
Public methodStatic memberFromModel T (IEnumerable T , RecordSet RowState)
Creates a RecordSet with schema and rows inferred from the annotated object models.
Public methodStatic memberFromModel T (T, RecordSet RowState)
Creates a RecordSet with schema and row inferred from the annotated object model.
Public methodStatic memberFromReader
Creates a RecordSet from a data source using the supplied IDataReader.
Public methodStatic memberFromReaderAsync(IDataReader)
Asynchronously creates a RecordSet from a data source using the supplied IDataReader.
Public methodStatic memberFromReaderAsync(IDataReader, CancellationToken)
Asynchronously creates a RecordSet from a data source using the supplied IDataReader.
Public methodGetEnumerator
Returns an enumerator that iterates through the rows in this RecordSet.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Fills a RecordSet with values from a data source using the supplied IDataReader.
Public methodRemove
Removes the row from this RecordSet.
Public methodSetPrimaryKey
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyColumns
Gets the columns of this RecordSet.
Public propertyCount
Gets the total number of Rows in this RecordSet.
Public propertyItem
Gets the row at the specified index.
Public propertyPrimaryKey
Gets or sets an array of columns that function as primary keys for this RecordSet.
Top
See Also