Partilhar via


AdoDotNetMappedObjectConverter.ConvertToMappedMember Method

Definition

Maps one or more data source–specific values to a specified generic mapped type: an ADO.NET data type, an ADO.NET DbType, or a .NET Framework Type value.

protected:
 override System::Object ^ ConvertToMappedMember(System::String ^ typeName, System::String ^ mappedMemberName, cli::array <System::Object ^> ^ underlyingValues, cli::array <System::Object ^> ^ parameters);
protected override object ConvertToMappedMember (string typeName, string mappedMemberName, object[] underlyingValues, object[] parameters);
override this.ConvertToMappedMember : string * string * obj[] * obj[] -> obj
Protected Overrides Function ConvertToMappedMember (typeName As String, mappedMemberName As String, underlyingValues As Object(), parameters As Object()) As Object

Parameters

typeName
String

The name of the data object type requesting this mapping.

mappedMemberName
String

The name of the generic concept.

underlyingValues
Object[]

One or more data source–specific values to map into the concept specified by mappedMemberName.

parameters
Object[]

Optional command parameters.

Returns

An object representing the value of the generic, mapped type.

Exceptions

The typeName and/or mappedMemberName parameter is null.

The values array does not contain the expected type of data.

This method does not support mapping of the specified type for the specified mappedMemberName.

Applies to