CreateSqlCollectionItem(System.Data.SqlClient.SqlDataReader) Method
When overridden in a derived class, the CreateSqlCollectionItem method of the DatabaseCollection class populates the properties of a Database instance with the column values of the supplied SqlDataReader object.
Parameters
dr A SqlDataReader object whose columns contain the properties of a Database object.
Return Value
A Database instance.
Remarks
The Item property of the DatabaseCollection class calls the proc_getDatabaseById stored procedure to populate a SqlDataReader with the properties of the specified Database instance and then calls the CreateSqlCollectionItem method internally to return a Database instance with its properties populated from the columns of the SqlDataReader object.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security