Creates a
RecordSet with schema and rows inferred from the annotated object models.
Namespace: NReco.DataAssembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
public static RecordSet FromModel<T>(
IEnumerable<T> models,
RecordSet RowState rowState
)
public static RecordSet FromModel<T>(
IEnumerable<T> models,
RecordSet..::..RowState rowState
)
Public Shared Function FromModel(Of T) (
models As IEnumerable(Of T),
rowState As RecordSet RowState
) As RecordSet
Public Shared Function FromModel(Of T) (
models As IEnumerable(Of T),
rowState As RecordSet..::..RowState
) As RecordSet
public:
generic<typename T>
static RecordSet^ FromModel(
IEnumerable<T>^ models,
RecordSet RowState rowState
)
public:
generic<typename T>
static RecordSet^ FromModel(
IEnumerable<T>^ models,
RecordSet..::..RowState rowState
)
static member FromModel :
models : IEnumerable<'T> *
rowState : RecordSet RowState -> RecordSet
static member FromModel :
models : IEnumerable<'T> *
rowState : RecordSet..::..RowState -> RecordSet
- T
- annotated model type
Return Value
Type:
RecordSetRecordSet with rows