RecordSet FromModel T  Method (IEnumerable T , RecordSet RowState)NReco.Data Class Library Documentation
Creates a RecordSet with schema and rows inferred from the annotated object models.

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

public static RecordSet FromModel<T>(
	IEnumerable<T> models,
	RecordSet&#160;RowState rowState
)

Parameters

models
Type: System.Collections.Generic IEnumerable T 
sequence of models
rowState
Type: NReco.Data RecordSet RowState
intial state of rows created by models
Type Parameters

T
annotated model type

Return Value

Type: RecordSet
RecordSet with rows
See Also