DataContext::Translate Method (DbDataReader^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Converts an existing DbDataReader to objects.

Namespace:   System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public:
IMultipleResults^ Translate(
	DbDataReader^ reader
)

Parameters

reader
Type: System.Data.Common::DbDataReader^

The IDataReader to be converted.

Return Value

Type: System.Data.Linq::IMultipleResults^

A list of objects returned by the conversion.

.NET Framework
Available since 3.5
Return to top
Show: