EntitySqlHelper.GetFromReader method (1 of 2)

namespace: Serenity.Data   assemblySerenity.Net.Entity

Gets field values from data reader into the query loader row.

public static void GetFromReader(this SqlQuery query, IDataReader reader)
parameter description
query The query.
reader The reader.

See Also


EntitySqlHelper.GetFromReader method (2 of 2)

namespace: Serenity.Data   assemblySerenity.Net.Entity

Gets field values from data reader into the set of specified into rows.

public static void GetFromReader(this SqlQuery query, IDataReader reader, IList<object> into)
parameter description
query The query.
reader The reader.
into The into rows list.

Exceptions

exception condition
InvalidOperationException An exception occurred during conversion

See Also