DbExtensions.ReflectionSelector<TResult>(IDataRecord) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates object of the given type from the results of a query.
public static TResult ReflectionSelector<TResult> (this System.Data.IDataRecord record);
static member ReflectionSelector : System.Data.IDataRecord -> 'Result
<Extension()>
Public Function ReflectionSelector(Of TResult) (record As IDataRecord) As TResult
Type Parameters
- TResult
The type to construct.
Parameters
- record
- IDataRecord
The record from which to read the results.
Returns
TResult
And object of type .
Remarks
Does not support of type dynamic.