Share via


CreateSqlCollectionItem(System.Data.SqlClient.SqlDataReader) Method

When overridden in a derived class, the CreateSqlCollectionItem method of the SqlCollectionBase class populates the properties of a single item in a collection.

Parameters

dr    A SqlDataReader object that consists of a single database record whose column values populate the properties of a collection item.

Return Value

A collection item with its properties populated from a database.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security